diff options
| author | NeilBrown <[email protected]> | 2007-04-16 22:53:25 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-04-17 16:36:27 -0700 |
| commit | 30f3deeee81cf22546da1b0b89a937bb991dea23 (patch) | |
| tree | 3747930c11b5cf0b25c96ddd161e541c1b00010c /include/linux/debugobjects.h | |
| parent | 94256dd680f837dc14dd7d1377c5326fb3362721 (diff) | |
knfsd: use a spinlock to protect sk_info_authunix
sk_info_authunix is not being protected properly so the object that it
points to can be cache_put twice, leading to corruption.
We borrow svsk->sk_defer_lock to provide the protection. We should
probably rename that lock to have a more generic name - later.
Thanks to Gabriel for reporting this.
Cc: Greg Banks <[email protected]>
Cc: Gabriel Barazer <[email protected]>
Signed-off-by: Neil Brown <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions