[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20141224.002212.1423065054989883755.davem@davemloft.net>
Date: Wed, 24 Dec 2014 00:22:12 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: tgraf@...g.ch
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net] net: Reset secmark when scrubbing packet
From: Thomas Graf <tgraf@...g.ch>
Date: Tue, 23 Dec 2014 01:13:18 +0100
> 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@...g.ch>
Applied and queued up for -stable, thanks Thomas.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists