net: fix network drivers ndo_start_xmit() return values (part 8)
authorPatrick McHardy <kaber@trash.net>
Fri, 12 Jun 2009 06:14:36 +0000 (06:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Jun 2009 08:18:45 +0000 (01:18 -0700)
commit5b2c4b972c0226406361f83b747eb5cdab51e68e
treeb915055947fc6646af3477b135be4ad76ec4ba32
parent81fbbf60408ad6b98ff72120de948cb7fd2498d0
net: fix network drivers ndo_start_xmit() return values (part 8)

Fix up USB drivers that return an errno value (result of usb_submit_urb())
to qdisc_restart(), causing qdisc_restart() to print a warning and requeue/
retransmit the skb.

- hso: skb is freed: use after free
- at76_usb: skb is freed: use after free

Compile tested only.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/hso.c
drivers/staging/at76_usb/at76_usb.c