diff options
author | Eric Dumazet <edumazet@google.com> | 2015-12-07 17:53:17 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-07 23:07:33 +0100 |
commit | bd5eb35f16a9c55afcf5eb1c920cbbaf09747369 (patch) | |
tree | 04ee2f972b0b0a04efebdb79f14f391bec142170 /drivers/net/geneve.c | |
parent | ipv6: sctp: fix lockdep splat in sctp_v6_get_dst() (diff) | |
download | linux-bd5eb35f16a9c55afcf5eb1c920cbbaf09747369.tar.xz linux-bd5eb35f16a9c55afcf5eb1c920cbbaf09747369.zip |
xfrm: take care of request sockets
TCP SYNACK messages might now be attached to request sockets.
XFRM needs to get back to a listener socket.
Adds new helpers that might be used elsewhere :
sk_to_full_sk() and sk_const_to_full_sk()
Note: We also need to add RCU protection for xfrm lookups,
now TCP/DCCP have lockless listener processing. This will
be addressed in separate patches.
Fixes: ca6fb0651883 ("tcp: attach SYNACK messages to request sockets instead of listener")
Reported-by: Dave Jones <davej@codemonkey.org.uk>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions