ah: Read nexthdr value before overwriting it in ahash input callback.
authorNick Bowler <nbowler@elliptictech.com>
Tue, 8 Nov 2011 12:12:45 +0000 (12:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Nov 2011 20:55:53 +0000 (15:55 -0500)
The AH4/6 ahash input callbacks read out the nexthdr field from the AH
header *after* they overwrite that header.  This is obviously not going
to end well.  Fix it up.

Signed-off-by: Nick Bowler <nbowler@elliptictech.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found