diff options
author | Ursula Braun <ubraun@linux.ibm.com> | 2019-04-11 11:17:32 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-11 11:04:08 -0700 |
commit | 07603b230895a74ebb1e2a1231ac45c29c2a8cd3 (patch) | |
tree | b4c1ee2e7ca061a7b37f16bdd302297bf27aaea4 /lib | |
parent | net/smc: fix a NULL pointer dereference (diff) | |
download | linux-dev-07603b230895a74ebb1e2a1231ac45c29c2a8cd3.tar.xz linux-dev-07603b230895a74ebb1e2a1231ac45c29c2a8cd3.zip |
net/smc: propagate file from SMC to TCP socket
fcntl(fd, F_SETOWN, getpid()) selects the recipient of SIGURG signals
that are delivered when out-of-band data arrives on socket fd.
If an SMC socket program makes use of such an fcntl() call, it fails
in case of fallback to TCP-mode. In case of fallback the traffic is
processed with the internal TCP socket. Propagating field "file" from the
SMC socket to the internal TCP socket fixes the issue.
Reviewed-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions