Re: [PATCH net] net/smc: do not schedule tx_work in SMC_CLOSED state

2019-08-05 Thread David Miller
From: Karsten Graul Date: Fri, 2 Aug 2019 10:16:38 +0200 > From: Ursula Braun > > 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+9

[PATCH net] net/smc: do not schedule tx_work in SMC_CLOSED state

2019-08-02 Thread Karsten Graul
From: Ursula Braun 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+b972214b