Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 243260
b: refs/heads/master
c: 02aadf7
h: refs/heads/master
v: v3
  • Loading branch information
Steffen Klassert authored and David S. Miller committed Mar 29, 2011
1 parent f72f76d commit 11ea043
Show file tree
Hide file tree
Showing 2 changed files with 4 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: e2b19125e94124daaeda1ddcf9b85b04575ad86f
refs/heads/master: 02aadf72fe2c83f145e3437734e66be53abae481
3 changes: 3 additions & 0 deletions trunk/net/xfrm/xfrm_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ static inline int verify_replay(struct xfrm_usersa_info *p,
if (!rt)
return 0;

if (p->id.proto != IPPROTO_ESP)
return -EINVAL;

if (p->replay_window != 0)
return -EINVAL;

Expand Down

0 comments on commit 11ea043

Please sign in to comment.