Lucian Adrian Grijincu c486da3439 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>
2011-02-25 11:01:56 -08:00
..
2010-09-23 14:33:39 -07:00
2010-06-09 18:39:27 -07:00
2010-02-22 16:20:22 -08:00
2010-05-11 14:40:55 +02:00
2010-11-24 11:16:42 -08:00
2010-06-26 22:00:03 -07:00
2010-10-25 13:09:45 -07:00