diff options
author | Lucian Adrian Grijincu <lucian.grijincu@gmail.com> | 2011-02-24 19:48:03 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-25 11:01:56 -0800 |
commit | c486da34390846b430896a407b47f0cea3a4189c (patch) | |
tree | 2df7eb05f91354e0dc0468ed884326b121f76686 /drivers/watchdog/nv_tco.c | |
parent | cdf64c803e6cfec72259f7bb2654261584bb80a8 (diff) | |
download | op-kernel-dev-c486da34390846b430896a407b47f0cea3a4189c.zip op-kernel-dev-c486da34390846b430896a407b47f0cea3a4189c.tar.gz |
sysctl: ipv6: use correct net in ipv6_sysctl_rtcache_flush
Before this patch issuing these commands:
fd = open("/proc/sys/net/ipv6/route/flush")
unshare(CLONE_NEWNET)
write(fd, "stuff")
would flush the newly created net, not the original one.
The equivalent ipv4 code is correct (stores the net inside ->extra1).
Acked-by: Daniel Lezcano <daniel.lezcano@free.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/watchdog/nv_tco.c')
0 files changed, 0 insertions, 0 deletions