diff options
Diffstat (limited to 'net/xfrm/xfrm_output.c')
-rw-r--r-- | net/xfrm/xfrm_output.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_output.c b/net/xfrm/xfrm_output.c index 20e789d8c63e..40d75eccddda 100644 --- a/net/xfrm/xfrm_output.c +++ b/net/xfrm/xfrm_output.c | |||
@@ -60,7 +60,8 @@ int xfrm_output(struct sk_buff *skb) | |||
60 | 60 | ||
61 | if (x->type->flags & XFRM_TYPE_REPLAY_PROT) { | 61 | if (x->type->flags & XFRM_TYPE_REPLAY_PROT) { |
62 | XFRM_SKB_CB(skb)->seq = ++x->replay.oseq; | 62 | XFRM_SKB_CB(skb)->seq = ++x->replay.oseq; |
63 | xfrm_aevent_doreplay(x); | 63 | if (xfrm_aevent_is_on()) |
64 | xfrm_replay_notify(x, XFRM_REPLAY_UPDATE); | ||
64 | } | 65 | } |
65 | 66 | ||
66 | err = x->mode->output(x, skb); | 67 | err = x->mode->output(x, skb); |