Subject: Re: net-next: warnings from sysctl_net_exit

From: Stephen Hemminger <[email-masked]>
Date: Sun, 27 Feb 2011 10:45:55 -0800

On Sat, 26 Feb 2011 22:23:33 -0800 (PST)
David Miller <[email-masked]> wrote:

> From: Stephen Hemminger <[email-masked]>
> Date: Sat, 26 Feb 2011 16:56:01 -0800
> 
> > Seeing lots of these messages in dmesg. Something is broken
> > recently in net-next.
> 
> Did you by change pull plain net-2.6 into that tree?  Because one
> commit which is in net-2.6 but not in net-next-2.6 catches my eye:
> 
> commit c486da34390846b430896a407b47f0cea3a4189c
> Author: Lucian Adrian Grijincu <[email-masked]>
> Date:   Thu Feb 24 19:48:03 2011 +0000
> 
>     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 <[email-masked]>
>     
>     Signed-off-by: David S. Miller <[email-masked]>
> 

I am building against pure net-next tree. Just checked by recloning.

--