mirror of
https://github.com/torvalds/linux.git
synced 2024-11-18 18:11:56 +00:00
675f0ab2fe
Make sure the uwb_dev->bce entry is set before calling uwb_dev_add in uwbd_dev_onair so that usermode will only see the device after it is properly initialized. This fixes a kernel panic that can occur if usermode tries to access the IEs sysfs attribute of a UWB device before the driver has had a chance to set the beacon cache entry. Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com> Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
i1480 | ||
address.c | ||
allocator.c | ||
beacon.c | ||
driver.c | ||
drp-avail.c | ||
drp-ie.c | ||
drp.c | ||
est.c | ||
hwa-rc.c | ||
ie-rcv.c | ||
ie.c | ||
Kconfig | ||
lc-dev.c | ||
lc-rc.c | ||
Makefile | ||
neh.c | ||
pal.c | ||
radio.c | ||
reset.c | ||
rsv.c | ||
scan.c | ||
umc-bus.c | ||
umc-dev.c | ||
umc-drv.c | ||
uwb-debug.c | ||
uwb-internal.h | ||
uwbd.c | ||
whc-rc.c | ||
whci.c |