aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorHardik Gajjar <[email protected]>2023-10-06 17:56:46 +0200
committerGreg Kroah-Hartman <[email protected]>2023-10-08 07:50:36 +0200
commitf49449fbc21e7e9550a5203902d69c8ae7dfd918 (patch)
tree5194fc2a092ea16f3b5ae7df54c6dbd86801e5f4 /tools/perf/scripts/python/bin
parent0f5aa1b01263b8b621bc4f031a1f2983ef8517b7 (diff)
usb: gadget: u_ether: Replace netif_stop_queue with netif_device_detach
This patch replaces the usage of netif_stop_queue with netif_device_detach in the u_ether driver. The netif_device_detach function not only stops all tx queues by calling netif_tx_stop_all_queues but also marks the device as removed by clearing the __LINK_STATE_PRESENT bit. This change helps notify user space about the disconnection of the device more effectively, compared to netif_stop_queue, which only stops a single transmit queue. Signed-off-by: Hardik Gajjar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions