]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Revert "net: Reset secmark when scrubbing packet"
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 16 Apr 2015 08:12:53 +0000 (16:12 +0800)
committerSasha Levin <sasha.levin@oracle.com>
Mon, 27 Apr 2015 20:48:31 +0000 (16:48 -0400)
commitefca6fa3f967cdadda3da28eb049df8291a7e85e
treeb663c00f13b46ce56d671d4ecdb1550e0a7c5070
parent6ee16f4a033f21a9a41d60a8d93f9663ec269913
Revert "net: Reset secmark when scrubbing packet"

[ Upstream commit 4c0ee414e877b899f7fc80aafb98d9425c02797f ]

This patch reverts commit b8fb4e0648a2ab3734140342002f68fb0c7d1602
because the secmark must be preserved even when a packet crosses
namespace boundaries.  The reason is that security labels apply to
the system as a whole and is not per-namespace.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
net/core/skbuff.c