mirror of
https://github.com/torvalds/linux.git
synced 2025-11-08 12:40:51 +02:00
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 | ||