commit | 799ef90c55e692e096d8bd9e5871b95264b1e9ba | [log] [tgz] |
---|---|---|
author | Mathias Krause <minipli@googlemail.com> | Wed Mar 20 22:59:11 2013 +0100 |
committer | Steffen Klassert <steffen.klassert@secunet.com> | Mon Mar 25 07:25:50 2013 +0100 |
tree | 8dc4b7c9fc0f0fc13e1e7a04ce62107fa1d02b4b | |
parent | 0017c0b57500606aab894cdb02fdf3380ddd60ee [diff] |
xfrm: Fix esn sequence number diff calculation in xfrm_replay_notify_esn() Commit 0017c0b "xfrm: Fix replay notification for esn." is off by one for the sequence number wrapped case as UINT_MAX is 0xffffffff, not 0x100000000. ;) Just calculate the diff like done everywhere else in the file. Signed-off-by: Mathias Krause <minipli@googlemail.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>