[NET]: Make packet reception network namespace safe
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 17 Sep 2007 18:53:39 +0000 (11:53 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:49:08 +0000 (16:49 -0700)
This patch modifies every packet receive function
registered with dev_add_pack() to drop packets if they
are not from the initial network namespace.

This should ensure that the various network stacks do
not receive packets in a anything but the initial network
namespace until the code has been converted and is ready
for them.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found