projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95eacee
)
[netdrvr] hso: dev_kfree_skb crash fix
author
Denis Joseph Barrow
<D.Barow@option.com>
Wed, 20 Aug 2008 01:07:55 +0000
(18:07 -0700)
committer
Jeff Garzik
<jgarzik@redhat.com>
Wed, 27 Aug 2008 09:36:47 +0000
(
05:36
-0400)
Fixes dev_kfree_skb happening too many times when hso_start_net_device
is called from hso_resume.
Signed-off-by: Denis Joseph Barrow <D.Barow@option.com>
Cc: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/usb/hso.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/usb/hso.c
b/drivers/net/usb/hso.c
index 1131e10fb6aeef095c9b340ea1e41eb2027f487e..6e42b5a8c22bb540ba9827f72ee482893c1972d4 100644
(file)
--- a/
drivers/net/usb/hso.c
+++ b/
drivers/net/usb/hso.c
@@
-2613,6
+2613,7
@@
static int hso_resume(struct usb_interface *iface)
"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)