From: Nicolas Dichtel Date: Wed, 16 Apr 2014 09:19:32 +0000 (+0200) Subject: ip_tunnel: use the right netns in ioctl handler X-Git-Tag: omap-for-v3.16/pm-signed~76^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c923ce219b775cc659a31616590afee239a84e5;p=pandora-kernel.git ip_tunnel: 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). The variable 'tunnel' was used only to get 'itn', hence to simplify code I remove it and use 't' instead. Signed-off-by: Nicolas Dichtel Signed-off-by: David S. Miller --- Reading git-diff-tree failed