Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 264065
b: refs/heads/master
c: bcf66bf
h: refs/heads/master
i:
  264063: 5d7ea9b
v: v3
  • Loading branch information
Steffen Klassert authored and David S. Miller committed Sep 21, 2011
1 parent 45b1df5 commit 5398561
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 561dac2d410ffac0b57a23b85ae0a623c1a076ca
refs/heads/master: bcf66bf54aabffc150acd1c99e0f4bc51935eada
5 changes: 5 additions & 0 deletions trunk/net/xfrm/xfrm_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,11 @@ int xfrm_input(struct sk_buff *skb, int nexthdr, __be32 spi, int encap_type)
/* only the first xfrm gets the encap type */
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->curlft.bytes += skb->len;
Expand Down

0 comments on commit 5398561

Please sign in to comment.