]> Git Repo - linux.git/commit
xfrm: take care of request sockets
authorEric Dumazet <[email protected]>
Mon, 7 Dec 2015 16:53:17 +0000 (08:53 -0800)
committerDavid S. Miller <[email protected]>
Mon, 7 Dec 2015 22:07:33 +0000 (17:07 -0500)
commitbd5eb35f16a9c55afcf5eb1c920cbbaf09747369
tree04ee2f972b0b0a04efebdb79f14f391bec142170
parent69ce6487dcd364245a3d26322fc8f4ffd1e8d947
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 <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Steffen Klassert <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
include/net/inet_sock.h
net/xfrm/xfrm_policy.c
This page took 0.056955 seconds and 4 git commands to generate.