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)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Mar 2012 23:29:58 +0000 (19:29 -0400)
commit1265fd616782ef03b98fd19f65c2b47fcd4ea11f
treeca6b946227f4d0f1b8419a335de1657f3e3a6aea
parent26b2072e7536e57995b2867d057fbb32ecfe498d
xfrm: Access the replay notify functions via the registered callbacks

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>
net/xfrm/xfrm_replay.c