]> git.baikalelectronics.ru Git - kernel.git/commit
ip_vti/ip6_vti: Do not touch skb->mark on xmit
authorAlexander Duyck <alexander.h.duyck@redhat.com>
Wed, 27 May 2015 14:16:43 +0000 (07:16 -0700)
committerSteffen Klassert <steffen.klassert@secunet.com>
Thu, 28 May 2015 04:23:31 +0000 (06:23 +0200)
commit3248c9c55c568125dd648e42d2a0a7b9e21117b2
treef591028fd9acc2914fd7470f2f4ba7e5f0f6377c
parent70501b157e8597378b30829783255c6d2db5ab98
ip_vti/ip6_vti: Do not touch skb->mark on xmit

Instead of modifying skb->mark we can simply modify the flowi_mark that is
generated as a result of the xfrm_decode_session.  By doing this we don't
need to actually touch the skb->mark and it can be preserved as it passes
out through the tunnel.

Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/ipv4/ip_vti.c
net/ipv6/ip6_vti.c