Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 193914
b: refs/heads/master
c: c8bf4d0
h: refs/heads/master
v: v3
  • Loading branch information
Timo Teräs authored and David S. Miller committed Apr 2, 2010
1 parent 3fd4fd8 commit 3afb3d5
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 34996cb91dd72f0b0456d8fd3fef4aaee62232f2
refs/heads/master: c8bf4d04f970fafb3430d332533e1cf103f2a018
4 changes: 4 additions & 0 deletions trunk/net/xfrm/xfrm_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -1741,6 +1741,10 @@ static int xfrm_add_pol_expire(struct sk_buff *skb, struct nlmsghdr *nlh,
if (err)
return err;

err = verify_policy_dir(p->dir);
if (err)
return err;

if (p->index)
xp = xfrm_policy_byid(net, mark, type, p->dir, p->index, 0, &err);
else {
Expand Down

0 comments on commit 3afb3d5

Please sign in to comment.