]> git.baikalelectronics.ru Git - kernel.git/commit
net: Allow DCBnl to use other namespaces besides init_net
authorJohn Fastabend <john.fastabend@gmail.com>
Sun, 9 Dec 2012 20:48:13 +0000 (20:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Dec 2012 19:09:01 +0000 (14:09 -0500)
commit778f72e1ac8c0b52fac1046c7010ca8c4677d4ec
treef806a2e6f510d5e206e3bb85cb8732a310a4ea09
parentc26b75ac4f1bd713a4112611a7bf3206c76bf44e
net: Allow DCBnl to use other namespaces besides init_net

Allow DCB and net namespace to work together. This is useful if you
have containers that are bound to 'phys' interfaces that want to
also manage their DCB attributes.

The net namespace is taken from sock_net(skb->sk) of the netlink skb.

CC: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dcb/dcbnl.c