diff options
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2014-04-16 11:19:33 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-04-16 15:16:02 -0400 |
commit | 9aad77c3b5cc9151d356b66ee8533e85ca7da192 (patch) | |
tree | efdceac253e1ac01e825f10cb3b1660047a76d15 /lib | |
parent | 8c923ce219b775cc659a31616590afee239a84e5 (diff) | |
download | linux-stable-9aad77c3b5cc9151d356b66ee8533e85ca7da192.tar.gz linux-stable-9aad77c3b5cc9151d356b66ee8533e85ca7da192.tar.bz2 linux-stable-9aad77c3b5cc9151d356b66ee8533e85ca7da192.zip |
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 <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions