{IPv6,xfrm} Add ESN support for AH ingress part
authorFan Du <fan.du@windriver.com>
Sat, 18 Jan 2014 01:54:27 +0000 (09:54 +0800)
committerSteffen Klassert <steffen.klassert@secunet.com>
Wed, 12 Feb 2014 06:02:11 +0000 (07:02 +0100)
commit8d6da6f325572664107601a3c9782f8c23c1bfc5
tree44f249e7182fd812ae4261083d6d61d50a201b4b
parent26dd70c3fad36f4b1aa124080d5907db10ed287c
{IPv6,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 going in.

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