xfrm: Use separate low and high order bits of the sequence numbers in xfrm_skb_cb
authorSteffen Klassert <steffen.klassert@secunet.com>
Tue, 8 Mar 2011 00:06:31 +0000 (00:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Mar 2011 03:22:28 +0000 (20:22 -0700)
commit1ce3644ade9c865c755bf0f6a4e109b7bb6eb60f
tree14ce0727337a43d1fa28432d01189d1a5f4269c7
parent9736acf395d3608583a7be70f62800b494fa103c
xfrm: Use separate low and high order bits of the sequence numbers in xfrm_skb_cb

To support IPsec extended sequence numbers, we split the
output sequence numbers of xfrm_skb_cb in low and high order 32 bits
and we add the high order 32 bits to the input sequence numbers.
All users are updated accordingly.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Acked-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