Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 78626
b: refs/heads/master
c: e1af9f2
h: refs/heads/master
v: v3
  • Loading branch information
Paul Moore authored and David S. Miller committed Jan 28, 2008
1 parent 1d828df commit a546714
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: afeb14b49098ba7a51c96e083a4105a0301f94c4
refs/heads/master: e1af9f270b69a3ad1dcbabb404dd1f40a96f43f5
5 changes: 4 additions & 1 deletion trunk/net/xfrm/xfrm_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,11 @@ static int xfrm_output_one(struct sk_buff *skb, int err)

if (x->type->flags & XFRM_TYPE_REPLAY_PROT) {
XFRM_SKB_CB(skb)->seq = ++x->replay.oseq;
if (unlikely(x->replay.oseq == 0))
if (unlikely(x->replay.oseq == 0)) {
x->replay.oseq--;
xfrm_audit_state_replay_overflow(x, skb);
goto error;
}
if (xfrm_aevent_is_on())
xfrm_replay_notify(x, XFRM_REPLAY_UPDATE);
}
Expand Down

0 comments on commit a546714

Please sign in to comment.