xfrm: Fix replay notification for esn.
authorSteffen Klassert <steffen.klassert@secunet.com>
Mon, 11 Mar 2013 09:32:16 +0000 (10:32 +0100)
committerSteffen Klassert <steffen.klassert@secunet.com>
Wed, 20 Mar 2013 10:57:52 +0000 (11:57 +0100)
We may miscalculate the sequence number difference from the
last time we send a notification if a sequence number wrap
occured in the meantime. We fix this by adding a separate
replay notify function for esn. Here we take the high bits
of the sequence number into account to calculate the
difference.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>

No differences found