diff options
author | Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> | 2015-08-11 19:22:23 -0300 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2015-08-17 16:22:20 -0500 |
commit | ee44b4bc054afc586c92558a225055ef9fd25d17 (patch) | |
tree | 54015a32f73ec8cd75eddf28b32c42e34d2242a3 /tools/thermal | |
parent | 356344c4c36dc960f90a3457dd67fe2efcf92417 (diff) |
dlm: use sctp 1-to-1 API
DLM is using 1-to-many API but in a 1-to-1 fashion. That is, it's not
needed but this causes it to use sctp_do_peeloff() to mimic an
kernel_accept() and this causes a symbol dependency on sctp module.
By switching it to 1-to-1 API we can avoid this dependency and also
reduce quite a lot of SCTP-specific code in lowcomms.c.
The caveat is that now DLM won't always use the same src port. It will
choose a random one, just like TCP code. This allows the peers to
attempt simultaneous connections, which now are handled just like for
TCP.
Even more sharing between TCP and SCTP code on DLM is possible, but it
is intentionally left for a later commit.
Note that for using nodes with this commit, you have to have at least
the early fixes on this patchset otherwise it will trigger some issues
on old nodes.
Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'tools/thermal')
0 files changed, 0 insertions, 0 deletions