From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: a patch for conntrack_tuple Date: Fri, 14 Jan 2005 05:03:11 +0100 Message-ID: <41E7447F.5060400@trash.net> References: <20050111102202.99FD6A90F2@mail.goldenhope.com.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: netfilter-devel@lists.netfilter.org Return-path: To: zhongyu In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org zhongyu wrote: > --- include/linux/netfilter_ipv4/ip_conntrack_tuple.h 27 Nov 2003 > 12:42:40 -0000 1.2 > +++ include/linux/netfilter_ipv4/ip_conntrack_tuple.h 10 Jan 2005 > 04:28:28 -0000 > @@ -50,13 +50,37 @@ > u_int64_t all; > > [...] > The function hash_conntrack use the low 16 bits of tuple->dst, but in > big-endian system > the port infomation is in high 16 bits. So the destination port on > big-endian system was > ignored. This caused hash collision. The patch above fixed this > problem :-) In the mainline kernel "all" is u_int16_t. Have you applied any patches ? Regards Patrick