Message ID | 51BA43DC.7050805@gmail.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
diff a/drivers/net/wireless/orinoco/orinoco_usb.c b/drivers/net/wireless/orinoco/orinoco_usb.c --- a/drivers/net/wireless/orinoco/orinoco_usb.c +++ b/drivers/net/wireless/orinoco/orinoco_usb.c @@ -1194,8 +1194,10 @@ static netdev_tx_t ezusb_xmit(struct sk_buff *skb, struct net_device *dev) err = orinoco_process_xmit_skb(skb, dev, priv, &tx_control, &mic[0]); - if (err) + if (err) { + ezusb_request_context_put(ctx); goto drop; + } {