Thread (28 messages) 28 messages, 5 authors, 2008-06-12

Re: 2.6.25rc7 lockdep trace

From: Jarek Poplawski <hidden>
Date: 2008-06-11 10:36:22

On 11-06-2008 07:40, David Miller wrote:
...
quoted hunk ↗ jump to hunk
diff --git a/drivers/net/usb/kaweth.c b/drivers/net/usb/kaweth.c
index 0dcfc03..d776bcf 100644
--- a/drivers/net/usb/kaweth.c
+++ b/drivers/net/usb/kaweth.c
@@ -706,7 +706,8 @@ static void kaweth_kill_urbs(struct kaweth_device *kaweth)
 	usb_kill_urb(kaweth->rx_urb);
 	usb_kill_urb(kaweth->tx_urb);
 
-	flush_scheduled_work();
+	cancel_delayed_work(&kaweth->lowmem_work);
+	cancel_work_sync(&kaweth->lowmem_work.work);
Why not cancel_delayed_work_sync()?

Jarek P.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help