]> git.baikalelectronics.ru Git - kernel.git/commit
[NET]: Add a network namespace tag to struct net_device
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 12 Sep 2007 09:56:32 +0000 (11:56 +0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:49:04 +0000 (16:49 -0700)
commitaa5b0486a7d5780c2fe6560e4b2f49fc3f447c78
tree82a414159a7646915a913f57ea94271565f43e1f
parentb1e9149fd4cbd2f41795aa8cd614070ef13b06a3
[NET]: Add a network namespace tag to struct net_device

Please note that network devices do not increase the count
count on the network namespace.  The are inside the network
namespace and so the network namespace tag is in the nature
of a back pointer and so getting and putting the network namespace
is unnecessary.

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