From: Karsten Graul <kgr...@linux.ibm.com> Date: Fri, 2 Aug 2019 10:16:38 +0200
> From: Ursula Braun <ubr...@linux.ibm.com> > > 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+92209502e7aab127c...@syzkaller.appspotmail.com > Reported-by: syzbot+b972214bb803a343f...@syzkaller.appspotmail.com > Fixes: 01d2f7e2cdd31 ("net/smc: sockopts TCP_NODELAY and TCP_CORK") > Signed-off-by: Ursula Braun <ubr...@linux.ibm.com> > Signed-off-by: Karsten Graul <kgr...@linux.ibm.com> Applied and queued up for -stable.