Commit b8fb4e0648a2ab3734140342002f68fb0c7d1602
Committed by
David S. Miller
1 parent
796f2da81b
Exists in
ti-lsk-linux-4.1.y
and in
10 other branches
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>
Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff
-
mentioned in commit 7d19bd
-
mentioned in commit 7d19bd
-
mentioned in commit 7d19bd
-
mentioned in commit 4c0ee4
-
mentioned in commit 4c0ee4
-
mentioned in commit 4c0ee4
-
mentioned in commit 4c0ee4
-
mentioned in commit 4c0ee4
-
mentioned in commit 4c0ee4
-
mentioned in commit 4c0ee4
-
mentioned in commit 4c0ee4
-
mentioned in commit 4c0ee4
-
mentioned in commit 4c0ee4
-
mentioned in commit 4c0ee4
-
mentioned in commit 4c0ee4
-
mentioned in commit 4c0ee4