summaryrefslogtreecommitdiffstats
path: root/drivers/ieee1394/hosts.c
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2007-09-15 14:50:25 +0200
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-10-16 23:59:59 +0200
commit17a19b795e9187d65b6e45cb22797725d50f7edb (patch)
tree60db3734335f3956378063c2f8126c036b83bfed /drivers/ieee1394/hosts.c
parentieee1394: nodemgr: fix leak of struct csr1212_keyval (diff)
downloadlinux-17a19b795e9187d65b6e45cb22797725d50f7edb.tar.xz
linux-17a19b795e9187d65b6e45cb22797725d50f7edb.zip
ieee1394: csr1212: proper refcounting
At least since nodemgr got rid of coarse global locking, accesses to struct csr1212_keyval's reference counter should be atomic and coupled with proper barriers. Also, calls to csr1212_keep_keyval(kv) should occur before kv is being used. (We probably should convert refcnt to struct kref, but how to keep csr1212_destroy_keyval's implementation non-recursively then?) Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/ieee1394/hosts.c')
0 files changed, 0 insertions, 0 deletions