aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorFlorian Westphal <[email protected]>2011-11-25 06:47:16 +0000
committerDavid S. Miller <[email protected]>2011-11-26 15:57:36 -0500
commit71b1391a41289735676be02e35239e5aa9fe6ba6 (patch)
tree2651b2efbbdc39beb00bcf3e9cd45f949952c240 /net/unix/af_unix.c
parent8a6e77d5209e459a9ec5c268c39800c06cd1dc86 (diff)
l2tp: ensure sk->dst is still valid
When using l2tp over ipsec, the tunnel will hang when rekeying occurs. Reason is that the transformer bundle attached to the dst entry is now in STATE_DEAD and thus xfrm_output_one() drops all packets (XfrmOutStateExpired increases). Fix this by calling __sk_dst_check (which drops the stale dst if xfrm dst->check callback finds that the bundle is no longer valid). Cc: James Chapman <[email protected]> Signed-off-by: Florian Westphal <[email protected]> Acked-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions