Skip to content
Commit 17a19b79 authored by Stefan Richter's avatar Stefan Richter
Browse files

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: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
parent 638d5bb8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment