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:27:21 +0000 (09:27 -0700)
commit096e4eafb36436b6ce6e8dc372bc5f6e11804e68
treee7bb08dcf00a6791df724d28d4376dc2cb6f936c
parent9c057cf429232fed2f2aee92aa381e56686796f1
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