vxlan: avoid using stale vxlan socket.
[cascardo/linux.git] / drivers / usb / dwc2 / hcd.h
index 89fa26c..7758bfb 100644 (file)
@@ -552,6 +552,7 @@ static inline void dwc2_hcd_qtd_unlink_and_free(struct dwc2_hsotg *hsotg,
 {
        list_del(&qtd->qtd_list_entry);
        kfree(qtd);
+       qtd = NULL;
 }
 
 /* Descriptor DMA support functions */