linux/drivers/staging
Sven Eckelmann 51a00eaf6e Staging: batman-adv: Don't use net_dev after dev_put
dev_put allows a device to be freed when all its references are dropped.
After that we are not allowed to access that information anymore. Access
to the data structure of a net_device must be surrounded a dev_hold
and ended using dev_put.

batman-adv adds a device to its own management structure in
hardif_add_interface and will release it in hardif_remove_interface.
Thus it must hold a reference all the time between those functions to
prevent any access to the already released net_device structure.

Reported-by: Tim Glaremin <Tim.Glaremin@web.de>
Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-08-23 18:15:37 -07:00
..
adis16255
asus_oled
batman-adv Staging: batman-adv: Don't use net_dev after dev_put 2010-08-23 18:15:37 -07:00
comedi Merge git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6 2010-08-06 12:25:06 -07:00
crystalhd
cx25821 Staging: Merge staging-next into Linus's tree 2010-08-05 14:18:03 -07:00
cxt1e1
dream
dt3155v4l
easycap staging: Pushdown bkl to easycap ioctl handlers 2010-08-09 03:28:40 +02:00
echo
et131x
frontier
go7007
hv Merge branch 'for-2.6.36' of git://git.kernel.dk/linux-2.6-block 2010-08-10 15:22:42 -07:00
iio
line6
lirc V4L/DVB: STAGING: remove lirc_ene0100 driver 2010-08-08 23:43:00 -03:00
memrar Staging: Merge staging-next into Linus's tree 2010-08-05 14:18:03 -07:00
mrst-touchscreen
msm
octeon Staging: Merge staging-next into Linus's tree 2010-08-05 14:18:03 -07:00
otus
panel
phison
pohmelfs fs: fs_struct rwlock to spinlock 2010-08-18 08:35:46 -04:00
quatech_usb2
quickstart
rt2860 Staging: Merge staging-next into Linus's tree 2010-08-05 14:18:03 -07:00
rt2870
rtl8187se param: remove unnecessary writable charp 2010-08-11 23:04:27 +09:30
rtl8192e param: remove unnecessary writable charp 2010-08-11 23:04:27 +09:30
rtl8192su param: remove unnecessary writable charp 2010-08-11 23:04:27 +09:30
rtl8192u Staging: Merge staging-next into Linus's tree 2010-08-05 14:18:03 -07:00
samsung-laptop
sep
serqt_usb2
slicoss
sm7xx
solo6x10
spectra Staging: spectra: removes unused functions 2010-08-23 18:15:35 -07:00
ti-st
tidspbridge
tm6000
udlfb
usbip USB: convert usb_hcd bitfields into atomic flags 2010-08-10 14:35:37 -07:00
vme
vt6655
vt6656
winbond Staging: Merge staging-next into Linus's tree 2010-08-05 14:18:03 -07:00
wlags49_h2 Merge git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6 2010-08-06 12:25:06 -07:00
wlags49_h25
wlan-ng Staging: wlan-ng: Update prism2_set_tx_power() to use mBm 2010-08-05 14:18:29 -07:00
xgifb
zram
Kconfig Staging: Merge staging-next into Linus's tree 2010-08-05 14:18:03 -07:00
Makefile Staging: Merge staging-next into Linus's tree 2010-08-05 14:18:03 -07:00
staging.c