From: Phil Sutter Subject: Re: [nft PATCH 1/4] mnl: Drop --echo support for non-batch calls Date: Tue, 15 Aug 2017 13:05:04 +0200 Message-ID: <20170815110504.GX16375@orbyte.nwl.cc> References: <20170814234305.2829-1-phil@nwl.cc> <20170814234305.2829-2-phil@nwl.cc> <20170815102500.GA3928@salvia> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netfilter-devel@vger.kernel.org To: Pablo Neira Ayuso Return-path: Received: from orbyte.nwl.cc ([151.80.46.58]:34077 "EHLO mail.nwl.cc" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753500AbdHOLFG (ORCPT ); Tue, 15 Aug 2017 07:05:06 -0400 Content-Disposition: inline In-Reply-To: <20170815102500.GA3928@salvia> Sender: netfilter-devel-owner@vger.kernel.org List-ID: Hi, On Tue, Aug 15, 2017 at 12:25:00PM +0200, Pablo Neira Ayuso wrote: > On Tue, Aug 15, 2017 at 01:43:02AM +0200, Phil Sutter wrote: [...] > > I didn't notice this because I didn't test for kernels without support > > for transactions. This has been added to nftables in kernel version 3.16 > > back in 2014. Since then, user space which doesn't support it can't even > > add a table anymore. So adding this new feature to the old code path is > > really not feasible, therefore drop this broken attempt at supporting > > it. > > We fixed this problem with nft and 3.16 IIRC. So at least the very > basic featureset still available there works fine. I was speaking of the other way around, namely old user space with kernel >= 3.16 (that's what I simulated by forcing batch_supported to false). Given that kernel user API isn't completely compatible, do you see a chance to drop the non-batch code from user space at some point? Cheers, Phil