Repository navigation
Commit 7c77ab2
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>1 parent 7b9e758 commit 7c77ab2
1 file changed
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1665 | 1665 | | |
1666 | 1666 | | |
1667 | 1667 | | |
1668 | | - | |
1669 | | - | |
1670 | | - | |
1671 | 1668 | | |
1672 | 1669 | | |
1673 | 1670 | | |
| |||
1684 | 1681 | | |
1685 | 1682 | | |
1686 | 1683 | | |
1687 | | - | |
| 1684 | + | |
1688 | 1685 | | |
1689 | 1686 | | |
1690 | 1687 | | |
| |||
1708 | 1705 | | |
1709 | 1706 | | |
1710 | 1707 | | |
1711 | | - | |
| 1708 | + | |
1712 | 1709 | | |
1713 | 1710 | | |
1714 | 1711 | | |
| |||
0 commit comments