diff options
author | Al Viro | 2007-07-26 18:33:19 +0200 |
---|---|---|
committer | Linus Torvalds | 2007-07-26 20:11:56 +0200 |
commit | a34c45896a723ee7b13128ac8bf564ea42fcd1eb (patch) | |
tree | 0b898fb2e780cb0a11a44c347745f2cb2f4a78af /net/netfilter/nf_conntrack_helper.c | |
parent | sun userflash is PCI-dependent (diff) | |
download | kernel-qcow2-linux-a34c45896a723ee7b13128ac8bf564ea42fcd1eb.tar.gz kernel-qcow2-linux-a34c45896a723ee7b13128ac8bf564ea42fcd1eb.tar.xz kernel-qcow2-linux-a34c45896a723ee7b13128ac8bf564ea42fcd1eb.zip |
netfilter endian regressions
no real bugs, just misannotations cropping up
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/netfilter/nf_conntrack_helper.c')
-rw-r--r-- | net/netfilter/nf_conntrack_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/nf_conntrack_helper.c b/net/netfilter/nf_conntrack_helper.c index ca10df40784f..96aa637c0932 100644 --- a/net/netfilter/nf_conntrack_helper.c +++ b/net/netfilter/nf_conntrack_helper.c @@ -39,7 +39,7 @@ static int nf_ct_helper_vmalloc; static unsigned int helper_hash(const struct nf_conntrack_tuple *tuple) { return (((tuple->src.l3num << 8) | tuple->dst.protonum) ^ - tuple->src.u.all) % nf_ct_helper_hsize; + (__force __u16)tuple->src.u.all) % nf_ct_helper_hsize; } struct nf_conntrack_helper * |