From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <524132F8.6010000@gmail.com> Date: Tue, 24 Sep 2013 14:36:40 +0800 From: zhuyj MIME-Version: 1.0 To: Hong Zhiguo CC: Steven Rostedt , linux-kernel@vger.kernel.org, stable@vger.kernel.org, "David S. Miller" Subject: Re: [ 163/171 ] ipv6: fix bad free of addrconf_init_net References: <20130411202503.783159048@goodmis.org> <20130411202612.980288644@goodmis.org> In-Reply-To: <20130411202612.980288644@goodmis.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: On 04/12/2013 04:27 AM, Steven Rostedt wrote: On linux with stable kernel v3.4.39, when this patch (ipv6: fix bad free of addrconf_init_net) is applied. Then I run the following commands: 1. the default value of ipv6 forwarding is 0 2. we change it to 1 firstly via: # vi /etc/sysctl.conf Uncomment: net.ipv6.conf.all.forwarding=1 #sysctl �p Then we can verify via #sysctl �a | grep forwarding 3, then we create a new namespace via: # ip netns add fib_100 # ip netns exec fib_100 sysctl -a | grep forwarding We�ll see in this new name space, the value of ipv6 forwarding will be set to �1� in v3.4.38, but in v3.4.39, the value is still be �0� without this patch (ipv6: fix bad free of addrconf_init_net), the value of ipv6 forwarding will be set to �1�. Would you like to tell me which one (v4.3.39 and v4.3.38) is correct? Best Regards! Zhu Yanjun