[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140116161912.GB7476@kroah.com>
Date: Thu, 16 Jan 2014 08:19:12 -0800
From: Greg KH <gregkh@...uxfoundation.org>
To: Chen Weilong <chenweilong@...wei.com>
Cc: davem@...emloft.net, netdev@...r.kernel.org
Subject: Re: [PATCH] net: fix "queues" uevent between network namespaces
On Thu, Jan 16, 2014 at 05:24:31PM +0800, Chen Weilong wrote:
> From: Weilong Chen <chenweilong@...wei.com>
>
> 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@...wei.com>
> Signed-off-by: Libo Chen <chenlibo@...wei.com>
> Signed-off-by: Weilong Chen <chenweilong@...wei.com>
> ---
> lib/kobject_uevent.c | 10 ++++++++--
> net/core/net-sysfs.c | 26 ++++++++++++++++++++++++++
> 2 files changed, 34 insertions(+), 2 deletions(-)
I can't test this, but it looks good to me:
Acked-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists