Thread (9 messages) 9 messages, 4 authors, 2008-08-28
STALE6481d

[patch 02/02] hso: dev_kfree_skb crash fix

From: <hidden>
Date: 2008-08-20 01:11:31
Also in: lkml

From: Denis Joseph Barrow <redacted>

Fixes dev_kfree_skb happening too many times when hso_start_net_device
is called from hso_resume.

Signed-off-by: Denis Joseph Barrow <redacted>
Cc: Jeff Garzik <redacted>
Signed-off-by: Greg Kroah-Hartman <redacted>

---
 drivers/net/usb/hso.c |    1 +
 1 file changed, 1 insertion(+)
--- a/drivers/net/usb/hso.c
+++ b/drivers/net/usb/hso.c
@@ -2613,6 +2613,7 @@ static int hso_resume(struct usb_interfa
 					"Transmitting lingering data\n");
 				hso_net_start_xmit(hso_net->skb_tx_buf,
 						   hso_net->net);
+				hso_net->skb_tx_buf = NULL;
 			}
 			result = hso_start_net_device(network_table[i]);
 			if (result)
-- 
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help