summaryrefslogtreecommitdiffstats
path: root/samples/hw_breakpoint
diff options
context:
space:
mode:
authorUrsula Braun <ubraun@linux.ibm.com>2019-08-02 10:16:38 +0200
committerDavid S. Miller <davem@davemloft.net>2019-08-05 22:23:05 +0200
commitf9cedf1a9b1cdcfb0c52edb391d01771e43994a4 (patch)
treee706eb99a727072a7ee0dc19ddc0acba2018a429 /samples/hw_breakpoint
parentgve: Fix case where desc_cnt and data_cnt can get out of sync (diff)
downloadlinux-f9cedf1a9b1cdcfb0c52edb391d01771e43994a4.tar.xz
linux-f9cedf1a9b1cdcfb0c52edb391d01771e43994a4.zip
net/smc: do not schedule tx_work in SMC_CLOSED state
The setsockopts options TCP_NODELAY and TCP_CORK may schedule the tx worker. Make sure the socket is not yet moved into SMC_CLOSED state (for instance by a shutdown SHUT_RDWR call). Reported-by: syzbot+92209502e7aab127c75f@syzkaller.appspotmail.com Reported-by: syzbot+b972214bb803a343f4fe@syzkaller.appspotmail.com Fixes: 01d2f7e2cdd31 ("net/smc: sockopts TCP_NODELAY and TCP_CORK") Signed-off-by: Ursula Braun <ubraun@linux.ibm.com> Signed-off-by: Karsten Graul <kgraul@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/hw_breakpoint')
0 files changed, 0 insertions, 0 deletions