From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: [PATCH 0/5] Add suport for bridge if dev name meta exepression keys Date: Thu, 27 Mar 2014 12:55:32 +0000 Message-ID: <20140327125532.GA30825@macbook.localnet> References: <1395924427-27947-1-git-send-email-tomasz.bursztyka@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netfilter-devel@vger.kernel.org To: Tomasz Bursztyka Return-path: Received: from stinky.trash.net ([213.144.137.162]:44619 "EHLO stinky.trash.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753943AbaC0Mzg (ORCPT ); Thu, 27 Mar 2014 08:55:36 -0400 Content-Disposition: inline In-Reply-To: <1395924427-27947-1-git-send-email-tomasz.bursztyka@linux.intel.com> Sender: netfilter-devel-owner@vger.kernel.org List-ID: On Thu, Mar 27, 2014 at 02:47:02PM +0200, Tomasz Bursztyka wrote: > Here is the patch-set to add meta keys NFT_META_BRI_IIFNAME and NFT_META_BRI_OIFNAME. > > I did not factorize nft_meta.c code to reuse nft_meta_select_ops() and nft_meta_bridge_init() > At least solutions I had made the code too ugly. > Declaring a type for select_ops functions, same for validate_get() one, and have > an in-between functions called relevantly by meta_init etc... Thanks. The patches look fine, however I'd ask you to hold off until tommorrow. I have patches coming up that will introduce variable sized registers for concatenations, which remove some of the functions you export, so we can avoid some churn of first exporting, then removing them again by adding your patches on top. Should only be very minor changes to adapt.