mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-23 18:07:03 +00:00
51a00eaf6e
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> |
||
---|---|---|
.. | ||
adis16255 | ||
asus_oled | ||
batman-adv | ||
comedi | ||
crystalhd | ||
cx25821 | ||
cxt1e1 | ||
dream | ||
dt3155v4l | ||
easycap | ||
echo | ||
et131x | ||
frontier | ||
go7007 | ||
hv | ||
iio | ||
line6 | ||
lirc | ||
memrar | ||
mrst-touchscreen | ||
msm | ||
octeon | ||
otus | ||
panel | ||
phison | ||
pohmelfs | ||
quatech_usb2 | ||
quickstart | ||
rt2860 | ||
rt2870 | ||
rtl8187se | ||
rtl8192e | ||
rtl8192su | ||
rtl8192u | ||
samsung-laptop | ||
sep | ||
serqt_usb2 | ||
slicoss | ||
sm7xx | ||
solo6x10 | ||
spectra | ||
ti-st | ||
tidspbridge | ||
tm6000 | ||
udlfb | ||
usbip | ||
vme | ||
vt6655 | ||
vt6656 | ||
winbond | ||
wlags49_h2 | ||
wlags49_h25 | ||
wlan-ng | ||
xgifb | ||
zram | ||
Kconfig | ||
Makefile | ||
staging.c |