Re: [PATCH] tcp: fix tcp_disconnect() not clear tp->fastopen_rsk sometimes

2019-09-10 Thread David Miller
From: chunguo feng Date: Fri, 6 Sep 2019 17:34:29 +0800 > From: fengchunguo > > This patch avoids fastopen_rsk not be cleared every times, then occur > the below BUG_ON: > tcp_v4_destroy_sock > ->BUG_ON(tp->fastopen_rsk); > > When playback some videos from netwrok,used tcp_disconnect

Re: [PATCH] tcp: fix tcp_disconnect() not clear tp->fastopen_rsk sometimes

2019-09-06 Thread Eric Dumazet
On Fri, Sep 6, 2019 at 11:34 AM chunguo feng wrote: > > From: fengchunguo > > This patch avoids fastopen_rsk not be cleared every times, then occur > the below BUG_ON: > tcp_v4_destroy_sock > ->BUG_ON(tp->fastopen_rsk); > > When playback some videos from netwrok,used tcp_disconnect

[PATCH] tcp: fix tcp_disconnect() not clear tp->fastopen_rsk sometimes

2019-09-06 Thread chunguo feng
From: fengchunguo This patch avoids fastopen_rsk not be cleared every times, then occur the below BUG_ON: tcp_v4_destroy_sock ->BUG_ON(tp->fastopen_rsk); When playback some videos from netwrok,used tcp_disconnect continually. Call trace: kfree+0x210/0x250