[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4D67CB11.4020801@free.fr>
Date: Fri, 25 Feb 2011 16:30:25 +0100
From: Daniel Lezcano <daniel.lezcano@...e.fr>
To: Lucian Adrian Grijincu <lucian.grijincu@...il.com>
CC: netdev@...r.kernel.org, "David S . Miller" <davem@...emloft.net>,
Benjamin Thery <benjamin.thery@...l.net>
Subject: Re: [PATCH] sysctl: ipv6: use correct net in ipv6_sysctl_rtcache_flush
On 02/25/2011 06:48 AM, Lucian Adrian Grijincu wrote:
> 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@...e.fr>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists