Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 276921
b: refs/heads/master
c: 50345f1
h: refs/heads/master
i:
  276919: 185d74a
v: v3
  • Loading branch information
David Howells authored and James Morris committed Dec 21, 2011
1 parent ca3fe55 commit ce0ee6a
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 428f32817505f67992e8efe62d6a9c7cbb3f2498
refs/heads/master: 50345f1ea9cda4618d9c26e590a97ecd4bc7ac75
4 changes: 3 additions & 1 deletion trunk/security/selinux/netport.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,9 @@ static void sel_netport_insert(struct sel_netport *port)
if (sel_netport_hash[idx].size == SEL_NETPORT_HASH_BKT_LIMIT) {
struct sel_netport *tail;
tail = list_entry(
rcu_dereference(sel_netport_hash[idx].list.prev),
rcu_dereference_protected(
sel_netport_hash[idx].list.prev,
lockdep_is_held(&sel_netport_lock)),
struct sel_netport, list);
list_del_rcu(&tail->list);
kfree_rcu(tail, rcu);
Expand Down

0 comments on commit ce0ee6a

Please sign in to comment.