summaryrefslogtreecommitdiff
path: root/drivers/regulator/as3711-regulator.c
diff options
context:
space:
mode:
authorNicolas Dichtel <nicolas.dichtel@6wind.com>2014-04-16 13:19:32 +0400
committerDavid S. Miller <davem@davemloft.net>2014-04-16 23:16:02 +0400
commit8c923ce219b775cc659a31616590afee239a84e5 (patch)
treea45ff5baecbf227b312cf57a53497facf19b49f1 /drivers/regulator/as3711-regulator.c
parentb7c0ddf5f270b2a3c0af326cb300eb17175d58e3 (diff)
downloadlinux-8c923ce219b775cc659a31616590afee239a84e5.tar.xz
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 <nicolas.dichtel@6wind.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/regulator/as3711-regulator.c')
0 files changed, 0 insertions, 0 deletions