|
@@ -212,6 +212,11 @@ resume:
|
|
/* only the first xfrm gets the encap type */
|
|
/* only the first xfrm gets the encap type */
|
|
encap_type = 0;
|
|
encap_type = 0;
|
|
|
|
|
|
|
|
+ if (async && x->repl->check(x, skb, seq)) {
|
|
|
|
+ XFRM_INC_STATS(net, LINUX_MIB_XFRMINSTATESEQERROR);
|
|
|
|
+ goto drop_unlock;
|
|
|
|
+ }
|
|
|
|
+
|
|
x->repl->advance(x, seq);
|
|
x->repl->advance(x, seq);
|
|
|
|
|
|
x->curlft.bytes += skb->len;
|
|
x->curlft.bytes += skb->len;
|