diff options
| author | Ursula Braun <[email protected]> | 2018-08-08 12:13:19 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-08-09 02:14:22 +0000 |
| commit | caa21e19e08d7a1445116a93f7ab4e187ebbbadb (patch) | |
| tree | 5cc5dccf2d25d7305186bbf5cf94e67563f8d9bf /tools/perf/scripts/python/check-perf-trace.py | |
| parent | net: aquantia: Fix IFF_ALLMULTI flag functionality (diff) | |
| download | kernel-caa21e19e08d7a1445116a93f7ab4e187ebbbadb.tar.gz kernel-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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
