Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Revert "usb: gadget: u_ether: Re-attach netif device to mirror detachment"

This reverts commit 76c945730cdffb572c7767073cc6515fd3f646b4.

Prerequisite revert for the reverting of the original commit f49449fbc21e.

Fixes: 76c945730cdf ("usb: gadget: u_ether: Re-attach netif device to mirror detachment")
Fixes: f49449fbc21e ("usb: gadget: u_ether: Replace netif_stop_queue with netif_device_detach")
Reported-by: Ferry Toth <fntoth@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Ferry Toth <fntoth@gmail.com>
Link: https://lore.kernel.org/r/20240620204832.24518-2-ftoth@exalondelft.nl
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Ferry Toth and committed by
Greg Kroah-Hartman
24bf27b9 dba7567c

-2
-2
drivers/usb/gadget/function/u_ether.c
··· 1163 1163 if (netif_running(dev->net)) 1164 1164 eth_start(dev, GFP_ATOMIC); 1165 1165 1166 - netif_device_attach(dev->net); 1167 - 1168 1166 /* on error, disable any endpoints */ 1169 1167 } else { 1170 1168 (void) usb_ep_disable(link->out_ep);