diff options
Diffstat (limited to 'net/xfrm/xfrm_output.c')
-rw-r--r-- | net/xfrm/xfrm_output.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/xfrm/xfrm_output.c b/net/xfrm/xfrm_output.c index 5b1c978a323c..20e789d8c63e 100644 --- a/net/xfrm/xfrm_output.c +++ b/net/xfrm/xfrm_output.c | |||
@@ -58,6 +58,11 @@ int xfrm_output(struct sk_buff *skb) | |||
58 | if (err) | 58 | if (err) |
59 | goto error; | 59 | goto error; |
60 | 60 | ||
61 | if (x->type->flags & XFRM_TYPE_REPLAY_PROT) { | ||
62 | XFRM_SKB_CB(skb)->seq = ++x->replay.oseq; | ||
63 | xfrm_aevent_doreplay(x); | ||
64 | } | ||
65 | |||
61 | err = x->mode->output(x, skb); | 66 | err = x->mode->output(x, skb); |
62 | if (err) | 67 | if (err) |
63 | goto error; | 68 | goto error; |