diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-06-09 20:33:05 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-12 05:37:08 +0400 |
commit | 0c78a92fbd655ab990e2799f645707f05f548e2f (patch) | |
tree | 8dd5bb176c76c142c6b310b4ce4d076d36acaec3 /Documentation | |
parent | c7de2cf053420d63bac85133469c965d4b1083e1 (diff) | |
download | linux-0c78a92fbd655ab990e2799f645707f05f548e2f.tar.xz |
econet: fix locking
econet lacks proper locking. It holds econet_lock only when inserting or
deleting an entry in econet_sklist, not during lookups.
- convert econet_lock from rwlock to spinlock
- use econet_lock in ec_listening_socket() lookup
- use appropriate sock_hold() / sock_put() to avoid corruptions.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions