diff options
author | Herbert Xu <[email protected]> | 2005-04-16 15:24:10 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2005-04-16 15:24:10 -0700 |
commit | 6775cab98b89b2caa10dce4b07e2c81999e45517 (patch) | |
tree | c24ede63d9f2eb303744d5c96c8f5294cee3c1db /security/selinux/include/class_to_string.h | |
parent | 2a27805127aee1e7e62854bcf9ca8c355c23b73e (diff) |
[PATCH] Fix dst_destroy() race
When we are not the real parent of the dst (e.g., when we're xfrm_dst and
the child is an rtentry), it may already be on the GC list.
In fact the current code is buggy to, we need to check dst->flags before
the dec as dst may no longer be valid afterwards.
Signed-off-by: Herbert Xu <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'security/selinux/include/class_to_string.h')
0 files changed, 0 insertions, 0 deletions