net: maintain namespace isolation between vlan and real device
authorArnd Bergmann <arnd@arndb.de>
Sat, 30 Jan 2010 12:23:03 +0000 (12:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Feb 2010 04:20:32 +0000 (20:20 -0800)
In the vlan and macvlan drivers, the start_xmit function forwards
data to the dev_queue_xmit function for another device, which may
potentially belong to a different namespace.

To make sure that classification stays within a single namespace,
this resets the potentially critical fields.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found