From: Lucian Adrian Grijincu Date: Thu, 24 Feb 2011 19:48:03 +0000 (+0000) Subject: sysctl: ipv6: use correct net in ipv6_sysctl_rtcache_flush X-Git-Tag: v2.6.38-rc8~29^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c486da34390846b430896a407b47f0cea3a4189c;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed