diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c index 9ad2970a095d94dfe96fc6dd6146e428ef2783e0..e277258df3827d3a1a6a1b6c7532389346af6d72 100644 --- a/drivers/usb/core/hcd.c +++ b/drivers/usb/core/hcd.c @@ -1018,8 +1018,8 @@ int usb_hcd_submit_urb (struct urb *urb, gfp_t mem_flags) atomic_dec (&urb->use_count); if (urb->reject) wake_up (&usb_kill_urb_queue); - usb_put_urb (urb); usbmon_urb_submit_error(&hcd->self, urb, status); + usb_put_urb (urb); } return status; }