Re: [PATCH net] net: fix keepalive code vs TCP_FASTOPEN_CONNECT

2017-08-03 Thread David Miller
From: Eric Dumazet Date: Wed, 02 Aug 2017 23:10:46 -0700 > From: Eric Dumazet > > syzkaller was able to trigger a divide by 0 in TCP stack [1] > > Issue here is that keepalive timer needs to be updated to not attempt > to send a probe if the connection setup was deferred using > TCP_FASTOPEN_C

[PATCH net] net: fix keepalive code vs TCP_FASTOPEN_CONNECT

2017-08-02 Thread Eric Dumazet
From: Eric Dumazet syzkaller was able to trigger a divide by 0 in TCP stack [1] Issue here is that keepalive timer needs to be updated to not attempt to send a probe if the connection setup was deferred using TCP_FASTOPEN_CONNECT socket option added in linux-4.11 [1] divide error: [#1] SM