git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdf64c8
)
sysctl: ipv6: use correct net in ipv6_sysctl_rtcache_flush
author
Lucian Adrian Grijincu
<lucian.grijincu@gmail.com>
Thu, 24 Feb 2011 19:48:03 +0000
(19:48 +0000)
committer
David S. Miller
<davem@davemloft.net>
Fri, 25 Feb 2011 19:01:56 +0000
(11:01 -0800)
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>
No differences found