Skip to content
Commit 82ef3d5d authored by Weilong Chen's avatar Weilong Chen Committed by David S. Miller
Browse files

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: default avatarLibo Chen <chenlibo@huawei.com>
Signed-off-by: default avatarLibo Chen <chenlibo@huawei.com>
Signed-off-by: default avatarWeilong Chen <chenweilong@huawei.com>
Acked-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 671314a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment