Skip to content
Commit cfcf92c2 authored by Alexander Duyck's avatar Alexander Duyck Committed by Sasha Levin
Browse files

xfrm: Override skb->mark with tunnel->parm.i_key in xfrm_input

[ Upstream commit 049f8e2e

 ]

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: default avatarAlexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: default avatarSasha Levin <sasha.levin@oracle.com>
parent 5508c260
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment