diff options
author | Eric Dumazet | 2015-10-30 09:46:12 -0700 |
---|---|---|
committer | David S. Miller | 2015-11-02 15:38:26 -0500 |
commit | ce1050089c969b96c797118f9cb0cf5a421ddc69 (patch) | |
tree | 96cae05caf0bddb2f7b3646efcabff06926cb13e /COPYING | |
parent | 7b5654349e4728021b9301e42ae16fa11f6832c8 (diff) |
tcp/dccp: fix ireq->pktopts race
IPv6 request sockets store a pointer to skb containing the SYN packet
to be able to transfer it to full blown socket when 3WHS is done
(ireq->pktopts -> np->pktoptions)
As explained in commit 5e0724d027f0 ("tcp/dccp: fix hashdance race for
passive sessions"), we must transfer the skb only if we won the
hashdance race, if multiple cpus receive the 'ack' packet completing
3WHS at the same time.
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@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions