linux/drivers/uwb
Thomas Pugliese 675f0ab2fe uwb: init beacon cache entry before registering uwb device
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>
2014-09-08 16:03:21 -07:00
..
i1480 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2012-01-08 13:21:22 -08:00
address.c
allocator.c uwb: use for_each_clear_bit() 2012-03-23 16:58:34 -07:00
beacon.c uwb: fix variable set but not used warnings 2014-05-27 15:18:48 -07:00
driver.c
drp-avail.c
drp-ie.c uwb: Staticize local symbols 2013-08-19 17:08:16 -07:00
drp.c uwb: whitespace and line length cleanups 2014-05-27 15:18:48 -07:00
est.c uwb: fix variable set but not used warnings 2014-05-27 15:18:48 -07:00
hwa-rc.c HWA RC: fix a kernel panic when unplugging the HWA dongle 2013-08-12 15:41:08 -07:00
ie-rcv.c uwb: fix variable set but not used warnings 2014-05-27 15:18:48 -07:00
ie.c
Kconfig drivers/uwb: remove depends on CONFIG_EXPERIMENTAL 2012-11-15 17:39:03 -08:00
lc-dev.c uwb: init beacon cache entry before registering uwb device 2014-09-08 16:03:21 -07:00
lc-rc.c driver-core: constify data for class_find_device() 2013-02-06 12:18:56 -08:00
Makefile
neh.c uwb: fix use of del_timer_sync() in interrupt 2012-04-18 13:15:51 -07:00
pal.c UWB: fix sysfs warning on HWA device unplug. 2013-08-12 15:41:09 -07:00
radio.c uwb: comment typo fix 2014-05-27 15:18:48 -07:00
reset.c uwb: fix uwb_dev_unlock() missed at an error path in uwb_rc_cmd_async() 2012-11-26 15:58:43 -08:00
rsv.c uwb: add error messages when reservation establish fails 2014-05-27 14:56:54 -07:00
scan.c
umc-bus.c uwb: Use dev_is_pci() to check whether it is pci device 2013-12-08 18:01:56 -08:00
umc-dev.c uwb: umc-dev: add missing put_device call 2013-12-19 10:26:46 -08:00
umc-drv.c
uwb-debug.c simple_open: automatically convert to simple_open() 2012-04-05 15:25:50 -07:00
uwb-internal.h USB: HWA: fix device probe failure 2013-06-24 16:20:43 -07:00
uwbd.c
whc-rc.c
whci.c uwb/whci: use correct structure type name in sizeof 2014-08-01 15:48:08 -07:00