]> git.baikalelectronics.ru Git - kernel.git/commit
xfrm: Override skb->mark with tunnel->parm.i_key in xfrm_input
authorAlexander Duyck <alexander.h.duyck@redhat.com>
Wed, 27 May 2015 14:16:49 +0000 (07:16 -0700)
committerSteffen Klassert <steffen.klassert@secunet.com>
Thu, 28 May 2015 04:23:31 +0000 (06:23 +0200)
commit8b696836a4a9396b92d15b3a0382c201a0dc40c7
tree85ef9a4d2dfab318d7c09ec8953b4ba7951cbe39
parent3248c9c55c568125dd648e42d2a0a7b9e21117b2
xfrm: Override skb->mark with tunnel->parm.i_key in xfrm_input

This change makes it so that if a tunnel is defined we just use the mark
from the tunnel instead of the mark from the skb header.  By doing this we
can avoid the need to set skb->mark inside of the tunnel receive functions.

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