summaryrefslogtreecommitdiff
path: root/net/ipv6/xfrm6_mode_tunnel.c
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@redhat.com>2015-05-27 14:16:54 (GMT)
committerSteffen Klassert <steffen.klassert@secunet.com>2015-05-28 04:23:32 (GMT)
commitd55c670cbc54b2270a465cdc382ce71adae45785 (patch)
tree95f7c702ff15f885b694c944d7071c9ee04a9843 /net/ipv6/xfrm6_mode_tunnel.c
parent049f8e2e28d9c3dac0744cc2f19d3157c7fb5646 (diff)
downloadlinux-d55c670cbc54b2270a465cdc382ce71adae45785.tar.xz
ip_vti/ip6_vti: Preserve skb->mark after rcv_cb call
The vti6_rcv_cb and vti_rcv_cb calls were leaving the skb->mark modified after completing the function. This resulted in the original skb->mark value being lost. Since we only need skb->mark to be set for xfrm_policy_check we can pull the assignment into the rcv_cb calls and then just restore the original mark after xfrm_policy_check has been completed. Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/ipv6/xfrm6_mode_tunnel.c')
0 files changed, 0 insertions, 0 deletions