From: Shen Feng Subject: Re: [PATCH] IPv4/IPv6: update sysctl files Date: Wed, 08 Apr 2009 11:28:21 +0800 Message-ID: <49DC19D5.7090101@cn.fujitsu.com> References: <49DC091C.6070708@cn.fujitsu.com> <1239158863.11534.52.camel@deadeye.i.decadent.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: davem@davemloft.net, Andrew Morton , netdev@vger.kernel.org, linux-kernel@vger.kernel.org To: Ben Hutchings Return-path: Received: from cn.fujitsu.com ([222.73.24.84]:53100 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1753395AbZDHD3M (ORCPT ); Tue, 7 Apr 2009 23:29:12 -0400 In-Reply-To: <1239158863.11534.52.camel@deadeye.i.decadent.org.uk> Sender: netdev-owner@vger.kernel.org List-ID: on 04/08/2009 10:47 AM, Ben Hutchings wrote: > On Wed, 2009-04-08 at 02:39 +0000, Shen Feng wrote: >> Now the following sysctl files in /proc/sys/net/ipv4 are used by >> both IPv4 and IPv6. >> tcp_mem tcp_rmem tcp_wmem >> udp_mem udp_rmem_min udp_wmem_min >> Putting them in /proc/sys/net/ipv4 is not a good choice. > [...] > > But this is part of the ABI to userland. You cannot remove sysctl files > without long advance notice documented in feature-removal-schedule.txt > (if at all). > > If it is possible to add the paths > /proc/sys/net/{tcp,udp} while retaining aliases under /proc/sys/net/ipv4 > then that might be a workable solution. Thanks. That's a good solution. But I'm still confused. Why not create another tcp_mem in /proc/sys/net/ipv6? Shen > > Ben. >