From: Mathias Krause Date: Wed, 20 Mar 2013 21:59:11 +0000 (+0100) Subject: xfrm: Fix esn sequence number diff calculation in xfrm_replay_notify_esn() X-Git-Tag: v3.9-rc6~38^2~22^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=799ef90c55e692e096d8bd9e5871b95264b1e9ba;p=pandora-kernel.git 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 Signed-off-by: Steffen Klassert --- Reading git-diff-tree failed