Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 157341
b: refs/heads/master
c: f041ae2
h: refs/heads/master
i:
  157339: 973295e
v: v3
  • Loading branch information
David Howells authored and James Morris committed Sep 2, 2009
1 parent 7f86734 commit f9c3aa2
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: 0c2c9a3fc77e8b60d43d9bd2ca46eb4dddb0ff76
refs/heads/master: f041ae2f99d49adc914153a34a2d0e14e4389d90
4 changes: 3 additions & 1 deletion trunk/security/keys/key.c
Original file line number Diff line number Diff line change
Expand Up @@ -956,8 +956,10 @@ void unregister_key_type(struct key_type *ktype)
for (_n = rb_first(&key_serial_tree); _n; _n = rb_next(_n)) {
key = rb_entry(_n, struct key, serial_node);

if (key->type == ktype)
if (key->type == ktype) {
key->type = &key_type_dead;
set_bit(KEY_FLAG_DEAD, &key->flags);
}
}

spin_unlock(&key_serial_lock);
Expand Down

0 comments on commit f9c3aa2

Please sign in to comment.