diff options
author | 2018-08-08 14:13:19 +0200 | |
---|---|---|
committer | 2018-08-08 19:14:22 -0700 | |
commit | caa21e19e08d7a1445116a93f7ab4e187ebbbadb (patch) | |
tree | 5cc5dccf2d25d7305186bbf5cf94e67563f8d9bf /tools/perf/scripts/python | |
parent | net: aquantia: Fix IFF_ALLMULTI flag functionality (diff) | |
download | wireguard-linux-caa21e19e08d7a1445116a93f7ab4e187ebbbadb.tar.xz wireguard-linux-caa21e19e08d7a1445116a93f7ab4e187ebbbadb.zip |
net/smc: no shutdown in state SMC_LISTEN
Invoking shutdown for a socket in state SMC_LISTEN does not make
sense. Nevertheless programs like syzbot fuzzing the kernel may
try to do this. For SMC this means a socket refcounting problem.
This patch makes sure a shutdown call for an SMC socket in state
SMC_LISTEN simply returns with -ENOTCONN.
Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions