Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752612AbbKVUey (ORCPT ); Sun, 22 Nov 2015 15:34:54 -0500 Received: from mail.us.es ([193.147.175.20]:53005 "EHLO mail.us.es" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752204AbbKVUev (ORCPT ); Sun, 22 Nov 2015 15:34:51 -0500 Date: Sun, 22 Nov 2015 21:34:47 +0100 From: Pablo Neira Ayuso To: Tejun Heo Cc: davem@davemloft.net, kaber@trash.net, kadlec@blackhole.kfki.hu, daniel@iogearbox.net, daniel.wagner@bmw-carit.de, nhorman@tuxdriver.com, lizefan@huawei.com, hannes@cmpxchg.org, netdev@vger.kernel.org, netfilter-devel@vger.kernel.org, coreteam@netfilter.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com, ninasc@fb.com Subject: Re: [PATCH 1/2 iptables] libxt_cgroup: prepare for multi revisions Message-ID: <20151122203447.GA3267@salvia> References: <1448122441-9335-1-git-send-email-tj@kernel.org> <20151121161846.GB3428@htj.duckdns.org> <20151122203128.GA3029@salvia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151122203128.GA3029@salvia> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1062 Lines: 34 On Sun, Nov 22, 2015 at 09:31:28PM +0100, Pablo Neira Ayuso wrote: > On Sat, Nov 21, 2015 at 11:18:46AM -0500, Tejun Heo wrote: > > --- a/extensions/libxt_cgroup.c > > +++ b/extensions/libxt_cgroup.c > > @@ -3,30 +3,30 @@ > > #include > > > > enum { > > - O_CGROUP = 0, > > + O_CLASSID = 0, > > }; > > > > -static void cgroup_help(void) > > +static void cgroup_help_v0(void) > > { > > printf( > > "cgroup match options:\n" > > -"[!] --cgroup fwid Match cgroup fwid\n"); > > +"[!] --cgroup classid Match cgroup classid\n"); > > We have to keep the old cgroup integer ID around for a while, > otherwise we'll break users with old kernels and new iptables > utilities. Oh, I see. This is just a rename to prepare the string based identifier. Sorry for the noise. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/