[IPSEC]: Fix bogus usage of u64 on input sequence number
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 13 Feb 2008 06:50:35 +0000 (22:50 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Feb 2008 06:50:35 +0000 (22:50 -0800)
commitb318e0e4ef4e85812c25afa19f75addccc834cd4
tree95d51df1aa01978a99e763cd92fd6f7f4647bf20
parent45b503548210fe6f23e92b856421c2a3f05fd034
[IPSEC]: Fix bogus usage of u64 on input sequence number

Al Viro spotted a bogus use of u64 on the input sequence number which
is big-endian.  This patch fixes it by giving the input sequence number
its own member in the xfrm_skb_cb structure.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/xfrm.h
net/ipv4/ah4.c
net/ipv4/esp4.c
net/ipv6/ah6.c
net/ipv6/esp6.c
net/xfrm/xfrm_input.c
net/xfrm/xfrm_output.c