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

From: David Miller
Date: Tue Sep 10 2019 - 04:09:33 EST


From: chunguo feng <chunguo.feng@xxxxxxxxxxx>
Date: Fri, 6 Sep 2019 17:34:29 +0800

> From: fengchunguo <chunguo.feng@xxxxxxxxxxx>
>
> 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.
...
> Signed-off-by: fengchunguo <chunguo.feng@xxxxxxxxxxx>

This still needs review.