From: Krzysztof Halasa Date: Wed, 14 Apr 2010 14:09:52 +0000 (+0000) Subject: WAN: flush tx_queue in hdlc_ppp to prevent panic on rmmod hw_driver. X-Git-Tag: v2.6.34-rc5~5^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31f634a63de7068c6a5dcb0d7b09b24b61a5cf88;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed