aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorSaurabh Mohan <[email protected]>2012-11-14 18:08:15 -0800
committerDavid S. Miller <[email protected]>2012-11-14 21:40:21 -0500
commitb2942004fb5c9f3304b77e187b8a1977b3626c9b (patch)
treef9c26023e6d43019825e9c7386aa41b4e241bc92 /tools/perf/util/trace-event-scripting.c
parent1ba56fb45a927d083f655302e75a1911a75b5da6 (diff)
ipv4/ip_vti.c: VTI fix post-decryption forwarding
With the latest kernel there are two things that must be done post decryption so that the packet are forwarded. 1. Remove the mark from the packet. This will cause the packet to not match the ipsec-policy again. However doing this causes the post-decryption check to fail also and the packet will get dropped. (cat /proc/net/xfrm_stat). 2. Remove the sp association in the skbuff so that no policy check is done on the packet for VTI tunnels. Due to #2 above we must now do a security-policy check in the vti rcv path prior to resetting the mark in the skbuff. Signed-off-by: Saurabh Mohan <[email protected]> Reported-by: Ruben Herold <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions