{IPv4,xfrm} Add ESN support for AH ingress part
authorFan Du <fan.du@windriver.com>
Sat, 18 Jan 2014 01:54:25 +0000 (09:54 +0800)
committerSteffen Klassert <steffen.klassert@secunet.com>
Wed, 12 Feb 2014 06:02:10 +0000 (07:02 +0100)
commitd8b2a8600b0ea002985d65bba4a94642a01bfe4c
treee376ed01fc0e38439a2d262693b87e772f48651a
parentd4d573d0334d07341beffdcf97e2b85d3955d8ae
{IPv4,xfrm} Add ESN support for AH ingress part

This patch add esn support for AH input stage by attaching upper 32bits
sequence number right after packet payload as specified by RFC 4302.

Then the ICV value will guard upper 32bits sequence number as well when
packet getting in.

Signed-off-by: Fan Du <fan.du@windriver.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/ipv4/ah4.c