diff options
author | Thomas Graf <tgraf@suug.ch> | 2014-12-23 01:13:18 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-12-24 06:21:43 +0100 |
commit | b8fb4e0648a2ab3734140342002f68fb0c7d1602 (patch) | |
tree | 59890b2e2210f2310dedb9d825a5b8e3e6795c67 /net/openvswitch | |
parent | net: Fix stacked vlan offload features computation (diff) | |
download | linux-b8fb4e0648a2ab3734140342002f68fb0c7d1602.tar.xz linux-b8fb4e0648a2ab3734140342002f68fb0c7d1602.zip |
net: Reset secmark when scrubbing packet
skb_scrub_packet() is called when a packet switches between a context
such as between underlay and overlay, between namespaces, or between
L3 subnets.
While we already scrub the packet mark, connection tracking entry,
and cached destination, the security mark/context is left intact.
It seems wrong to inherit the security context of a packet when going
from overlay to underlay or across forwarding paths.
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Acked-by: Flavio Leitner <fbl@sysclose.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch')
0 files changed, 0 insertions, 0 deletions