diff options
author | Myungho Jung <mhjungk@gmail.com> | 2018-12-18 18:02:25 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-19 07:02:51 +0100 |
commit | 78abe3d0dfad196959b1246003366e2610775ea6 (patch) | |
tree | 101f58d43375ea186240109dbb123854a006dade /fs/super.c | |
parent | vxge: ensure data0 is initialized in when fetching firmware version information (diff) | |
download | linux-78abe3d0dfad196959b1246003366e2610775ea6.tar.xz linux-78abe3d0dfad196959b1246003366e2610775ea6.zip |
net/smc: fix TCP fallback socket release
clcsock can be released while kernel_accept() references it in TCP
listen worker. Also, clcsock needs to wake up before released if TCP
fallback is used and the clcsock is blocked by accept. Add a lock to
safely release clcsock and call kernel_sock_shutdown() to wake up
clcsock from accept in smc_release().
Reported-by: syzbot+0bf2e01269f1274b4b03@syzkaller.appspotmail.com
Reported-by: syzbot+e3132895630f957306bc@syzkaller.appspotmail.com
Signed-off-by: Myungho Jung <mhjungk@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/super.c')
0 files changed, 0 insertions, 0 deletions