[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
1 changed files with 1 additions and 0 deletions
|
@ -2613,6 +2613,7 @@ static int hso_resume(struct usb_interface *iface)
|
||||||
"Transmitting lingering data\n");
|
"Transmitting lingering data\n");
|
||||||
hso_net_start_xmit(hso_net->skb_tx_buf,
|
hso_net_start_xmit(hso_net->skb_tx_buf,
|
||||||
hso_net->net);
|
hso_net->net);
|
||||||
|
hso_net->skb_tx_buf = NULL;
|
||||||
}
|
}
|
||||||
result = hso_start_net_device(network_table[i]);
|
result = hso_start_net_device(network_table[i]);
|
||||||
if (result)
|
if (result)
|
||||||
|
|
Loading…
Add table
Reference in a new issue