Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323070
b: refs/heads/master
c: ee8372d
h: refs/heads/master
v: v3
  • Loading branch information
Nicolas Dichtel authored and David S. Miller committed Sep 18, 2012
1 parent 5eedf13 commit c4bc06c
Show file tree
Hide file tree
Showing 3 changed files with 3 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: b42664f898c976247f7f609b8bb9c94d7475ca10
refs/heads/master: ee8372dd1989287c5eedb69d44bac43f69e496f1
1 change: 1 addition & 0 deletions trunk/net/xfrm/xfrm_policy.c
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,7 @@ int xfrm_policy_insert(int dir, struct xfrm_policy *policy, int excl)
xfrm_pol_hold(policy);
net->xfrm.policy_count[dir]++;
atomic_inc(&flow_cache_genid);
rt_genid_bump(net);
if (delpol)
__xfrm_policy_unlink(delpol, dir);
policy->index = delpol ? delpol->index : xfrm_gen_index(net, dir);
Expand Down
1 change: 1 addition & 0 deletions trunk/security/selinux/include/xfrm.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ int selinux_xfrm_decode_session(struct sk_buff *skb, u32 *sid, int ckall);
static inline void selinux_xfrm_notify_policyload(void)
{
atomic_inc(&flow_cache_genid);
rt_genid_bump(&init_net);
}
#else
static inline int selinux_xfrm_enabled(void)
Expand Down

0 comments on commit c4bc06c

Please sign in to comment.