[PATCH 1/3] Netfilter: Remove ip_conntrack_tuple_hash "ctrack"

Andreas Schwab schwab at suse.de
Sat Jan 22 19:26:59 CET 2005


Rusty Russell <rusty at rustcorp.com.au> writes:

> Index: linux-2.6.10-bk13-Netfilter/include/linux/netfilter_ipv4/ip_conntrack_tuple.h
> ===================================================================
> --- linux-2.6.10-bk13-Netfilter.orig/include/linux/netfilter_ipv4/ip_conntrack_tuple.h	2005-01-11 21:04:11.743513264 +1100
> +++ linux-2.6.10-bk13-Netfilter/include/linux/netfilter_ipv4/ip_conntrack_tuple.h	2005-01-11 21:05:20.015134400 +1100
> @@ -64,7 +64,10 @@
>  		} u;
>  
>  		/* The protocol. */
> -		u_int16_t protonum;
> +		u8 protonum;
> +
> +		/* The direction (for tuplehash) */
> +		u8 dir;
>  	} dst;
>  };
>  

Doesn't this break the iptables conntrack module on big-endian systems?

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab at suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the netfilter-devel mailing list