[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140416.151632.711828908301681249.davem@davemloft.net>
Date: Wed, 16 Apr 2014 15:16:32 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: nicolas.dichtel@...nd.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net 2/3] sit: use the right netns in ioctl handler
From: Nicolas Dichtel <nicolas.dichtel@...nd.com>
Date: Wed, 16 Apr 2014 11:19:33 +0200
> Because the netdevice may be in another netns than the i/o netns, we should
> use the i/o netns instead of dev_net(dev).
>
> Note that netdev_priv(dev) cannot bu NULL, hence we can remove these useless
> checks.
>
> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@...nd.com>
Applied.
--
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