From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wang Weidong Subject: Re: [PATCH net-next] ipv4: fix kfree static array pointer in ipv4_sysctl_exit_net Date: Fri, 9 May 2014 12:16:33 +0800 Message-ID: <536C56A1.5080100@huawei.com> References: <536B34FD.8030601@huawei.com> <1399552485.7973.2.camel@edumazet-glaptop2.roam.corp.google.com> <536B7D34.4050104@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: David Miller , Alexey Kuznetsov , James Morris , Hideaki YOSHIFUJI , Patrick McHardy , netdev To: Eric Dumazet Return-path: Received: from szxga01-in.huawei.com ([119.145.14.64]:7827 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750824AbaEIER2 (ORCPT ); Fri, 9 May 2014 00:17:28 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On 2014/5/9 2:20, Eric Dumazet wrote: >> No. >> I just trigger the similar case on sctp when I do 'rmmod -f sctp'. >> Here I add the init_net case for sctp register sysctl. >> >> Is it better to add BUG_ON(net == &init_net) maybe? >> > > The point is : SCTP _can_ be a module, but IPV4 is not. > > You cannot rmmod ipv4 > > Its not because there is a bug in SCTP that you can apply the same > recipe on another layer. > Well, You are right. So ignore it. Regards Wang >