Branch: refs/heads/sctp-fixes
Home:
https://github.com/kronosnet/kronosnet
Commit: 5d1b9564922c8ed273cfbde2d65170cf25866275
https://github.com/kronosnet/kronosnet/commit/5d1b9564922c8ed273cfbde2d6517…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-12-18 (Wed, 18 Dec 2019)
Changed paths:
M libknet/transport_sctp.c
Log Message:
-----------
[sctp] improve debugging output for sctp connect sockets
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 3dc42b631d9b112678407b5233b1e248da200e0a
https://github.com/kronosnet/kronosnet/commit/3dc42b631d9b112678407b5233b1e…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-12-18 (Wed, 18 Dec 2019)
Changed paths:
M libknet/transport_sctp.c
Log Message:
-----------
[sctp] check socket errors only after socket re-create process
For some unknown reasons (yet), this code used to work with older kernels,
but it recently broke.
Regardless of the kernel change, it is incorrect to get the socket status
before re-creating the socket and rely on the old status for the new
socket behavior.
By moving the check after the socket re-creation, then knet behaves correctly.
This patch will be merged once we have a full explanation of what changed
in kernel.
Original-Patch-by: Xin Long <lxin(a)redhat.com>
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Compare:
https://github.com/kronosnet/kronosnet/compare/0290c376ee30...3dc42b631d9b