Skip to content

Commit 126cd78

Browse files
jk-ozlabskuba-moo
authored andcommitted
net: mctp: start tx queue on netdev open
We stop queues in ndo_stop, so they need to be restarted in ndo_open. This allows us to resume tx after a link down/up cycle. Suggested-by: Nitin Singh <[email protected]> Fixes: 0791c03 ("net: mctp: Add MCTP USB transport driver") Signed-off-by: Jeremy Kerr <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent c6bb8a2 commit 126cd78

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/net/mctp/mctp-usb.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,8 @@ static int mctp_usb_open(struct net_device *dev)
257257

258258
WRITE_ONCE(mctp_usb->stopped, false);
259259

260+
netif_start_queue(dev);
261+
260262
return mctp_usb_rx_queue(mctp_usb, GFP_KERNEL);
261263
}
262264

0 commit comments

Comments
 (0)