xfrm: Access the replay notify functions via the registered callbacks
authorSteffen Klassert <steffen.klassert@secunet.com>
Wed, 21 Mar 2012 23:36:13 +0000 (23:36 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Apr 2012 16:53:09 +0000 (09:53 -0700)
commit9b5796b841ae7be468c39e88a9c723269651f57c
tree30ddb59a84940c69a4da22297d11fb19f1fc08f2
parent9b1ad27f4e59445a6e52deb25956b28a84509361
xfrm: Access the replay notify functions via the registered callbacks

[ Upstream commit 1265fd616782ef03b98fd19f65c2b47fcd4ea11f ]

We call the wrong replay notify function when we use ESN replay
handling. This leads to the fact that we don't send notifications
if we use ESN. Fix this by calling the registered callbacks instead
of xfrm_replay_notify().

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/xfrm/xfrm_replay.c