mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 22:51:42 +00:00
[netdrvr] hso: dev_kfree_skb crash fix
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>
This commit is contained in:
parent
95eacee870
commit
c213f286f2
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user