From: Thomas Graf Date: Tue, 23 Dec 2014 00:13:18 +0000 (+0100) Subject: net: Reset secmark when scrubbing packet X-Git-Tag: fixes-v4.0-rc1~357^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8fb4e0648a2ab3734140342002f68fb0c7d1602;p=pandora-kernel.git 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 Acked-by: Flavio Leitner Signed-off-by: David S. Miller --- Reading git-diff-tree failed