From: Erik Hugne Date: Wed, 3 Dec 2014 15:58:40 +0000 (+0100) Subject: tipc: fix missing spinlock init and nullptr oops X-Git-Tag: omap-for-v3.20/drop-legacy-3517~122^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4988bb4a3f0b3b0273c21c6c52f2730f55693b42;p=pandora-kernel.git 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 Acked-by: Tero Aho Signed-off-by: David S. Miller --- Reading git-diff-tree failed