From: Nicolas Dichtel Date: Wed, 16 Apr 2014 09:19:33 +0000 (+0200) Subject: sit: use the right netns in ioctl handler X-Git-Tag: omap-for-v3.16/pm-signed~76^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9aad77c3b5cc9151d356b66ee8533e85ca7da192;p=pandora-kernel.git sit: use the right netns in ioctl handler 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed