diff options
author | Krzysztof Halasa <khc@pm.waw.pl> | 2010-04-14 14:09:52 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-16 15:41:03 -0700 |
commit | 31f634a63de7068c6a5dcb0d7b09b24b61a5cf88 (patch) | |
tree | 1bdf1c9f73d692f3a4205464b1cb1dc27b1b3cb4 /drivers/uwb/whc-rc.c | |
parent | 334656f33c43921cf383dfd0220dfd34376bcd98 (diff) |
WAN: flush tx_queue in hdlc_ppp to prevent panic on rmmod hw_driver.
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>
Diffstat (limited to 'drivers/uwb/whc-rc.c')
0 files changed, 0 insertions, 0 deletions