[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20151105.143640.1782532662947816312.davem@davemloft.net>
Date: Thu, 05 Nov 2015 14:36:40 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, ycai@...gle.com
Subject: Re: [PATCH net] tcp: fix req->saved_syn race
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Thu, 05 Nov 2015 11:07:13 -0800
> From: Eric Dumazet <edumazet@...gle.com>
>
> For the reasons explained in commit ce1050089c96 ("tcp/dccp: fix
> ireq->pktopts race"), we need to make sure we do not access
> req->saved_syn unless we own the request sock.
>
> This fixes races for listeners using TCP_SAVE_SYN option.
>
> Fixes: e994b2f0fb92 ("tcp: do not lock listener to process SYN packets")
> Fixes: 079096f103fa ("tcp/dccp: install syn_recv requests into ehash table")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Reported-by: Ying Cai <ycai@...gle.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists