summaryrefslogtreecommitdiffstats
path: root/drivers/uwb/lc-dev.c
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2012-08-13 04:50:55 +0200
committerDavid S. Miller <davem@davemloft.net>2012-08-15 01:52:02 +0200
commitaadf31de16a7b2878af00a02e6557df84efa784b (patch)
tree8ad3aa78fdabdc1c60e5608b342ec1782eb72513 /drivers/uwb/lc-dev.c
parentllc2: Call llc_station_exit() on llc2_init() failure path (diff)
downloadlinux-aadf31de16a7b2878af00a02e6557df84efa784b.tar.xz
linux-aadf31de16a7b2878af00a02e6557df84efa784b.zip
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 <ben@decadent.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/uwb/lc-dev.c')
0 files changed, 0 insertions, 0 deletions