diff options
author | Erik Hugne <erik.hugne@ericsson.com> | 2014-12-03 18:58:40 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-12-09 21:41:54 +0300 |
commit | 4988bb4a3f0b3b0273c21c6c52f2730f55693b42 (patch) | |
tree | 9668bf234d3b190d8010b353e54521d39f8a2d02 /drivers/net/ethernet/ti | |
parent | d9a28c5b4c9a69f3036743bed36902b45dd39f1d (diff) | |
download | linux-4988bb4a3f0b3b0273c21c6c52f2730f55693b42.tar.xz |
tipc: fix missing spinlock init and nullptr oops
commit 908344cdda80 ("tipc: fix bug in multicast congestion
handling") introduced two bugs with the bclink wakeup
function. This commit fixes the missing spinlock init for the
waiting_sks list. We also eliminate the race condition
between the waiting_sks length check/dequeue operations in
tipc_bclink_wakeup_users by simply removing the redundant
length check.
Signed-off-by: Erik Hugne <erik.hugne@ericsson.com>
Acked-by: Tero Aho <Tero.Aho@coriant.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti')
0 files changed, 0 insertions, 0 deletions