https://github.com/torvalds/linux
Revision 31f634a63de7068c6a5dcb0d7b09b24b61a5cf88 authored by Krzysztof Halasa on 14 April 2010, 14:09:52 UTC, committed by David S. Miller on 16 April 2010, 22:41:03 UTC
tx_queue is used as a temporary queue when not allowed to queue skb
directly to the hw device driver (which may sleep). Most paths flush
it before returning, but ppp_start() currently cannot. Make sure we
don't leave skbs pointing to a non-existent device.

Thanks to Michael Barkowski for reporting this problem.

Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 334656f
History
Tip revision: 31f634a63de7068c6a5dcb0d7b09b24b61a5cf88 authored by Krzysztof Halasa on 14 April 2010, 14:09:52 UTC
WAN: flush tx_queue in hdlc_ppp to prevent panic on rmmod hw_driver.
Tip revision: 31f634a
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 930 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 166.2 KB
Makefile -rw-r--r-- 52.0 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top