From: Ben Hutchings Date: Mon, 13 Aug 2012 02:50:55 +0000 (+0000) Subject: llc: Fix races between llc2 handler use and (un)registration X-Git-Tag: v3.6-rc3~10^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aadf31de16a7b2878af00a02e6557df84efa784b;p=pandora-kernel.git llc: Fix races between llc2 handler use and (un)registration When registering the handlers, any state they rely on must be completely initialised first. When unregistering, we must wait until they are definitely no longer running. llc_rcv() must also avoid reading the handler pointers again after checking for NULL. Signed-off-by: Ben Hutchings Signed-off-by: David S. Miller --- Reading git-diff-tree failed