diff options
author | Weilong Chen <chenweilong@huawei.com> | 2014-01-16 17:24:31 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-19 20:02:02 -0800 |
commit | 82ef3d5d5f3ffd757c960693c4fe7a0051211849 (patch) | |
tree | 2494c00a2fc1d9153734672cfbe7e96e215aa14a /lib/sort.c | |
parent | 671314a5abb7abb8346cd3f16f75c1e55ed7667b (diff) |
net: fix "queues" uevent between network namespaces
When I create a new namespace with 'ip netns add net0', or add/remove
new links in a namespace with 'ip link add/delete type veth', rx/tx
queues events can be got in all namespaces. That is because rx/tx queue
ktypes do not have namespace support, and their kobj parents are setted to
NULL. This patch is to fix it.
Reported-by: Libo Chen <chenlibo@huawei.com>
Signed-off-by: Libo Chen <chenlibo@huawei.com>
Signed-off-by: Weilong Chen <chenweilong@huawei.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/sort.c')
0 files changed, 0 insertions, 0 deletions