From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philip Craig Subject: Re: Fw: Problems with nf_nat_ftp.ko and nf_conntrack_ftp.ko in 2.6.22.6 Date: Mon, 12 Nov 2007 17:35:20 +1000 Message-ID: <47380238.6070502@snapgear.com> References: <4731A7A9.1050606@trash.net> <1194478191.2983.7.camel@localhost.localdomain> <4737EBF6.6000506@trash.net> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4737EBF6.6000506@trash.net> Sender: netfilter-devel-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii" To: Patrick McHardy Cc: Bart De Schuymer , "bdschuym@pandora.be" , ron lai , netfilter@vger.kernel.org, netfilter-devel@vger.kernel.org Patrick McHardy wrote: > Both are fine with me. Does this patch look correct to you? > > + if (!nf_bridge->mask & (BRNF_BRIDGED | BRNF_BRIDGED_DNAT)) I think it needs more parentheses: if (!(nf_bridge->mask & (BRNF_BRIDGED | BRNF_BRIDGED_DNAT)))