]> exis.tech > repos - linux.git/commit
net: mctp: usb: don't fail mctp_usb_rx_queue on a deferred submission
authorJeremy Kerr <jk@codeconstruct.com.au>
Mon, 8 Jun 2026 01:25:41 +0000 (09:25 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 9 Jun 2026 13:23:13 +0000 (15:23 +0200)
commit881a3113b74964918cdd72747e3bc119c02b0c0c
treef43b5a45703e3216ad34832b6bba3654ab32bb31
parent54665dce982689e2fd99b32e9a0dcc204fda8a51
net: mctp: usb: don't fail mctp_usb_rx_queue on a deferred submission

In the ndo_open path, a deferred queue open will report a failure, and
so the netdev will not be ndo_stop()ed, leaving us with the rx_retry
work potentially pending.

Don't report a deferred queue as an error, as we are still operational.
This means we use the ndo_stop() path for future cleanup, which handles
rx_retry_work cancellation.

Fixes: 0791c0327a6e ("net: mctp: Add MCTP USB transport driver")
Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
Link: https://patch.msgid.link/20260608-dev-mctp-usb-rx-requeue-v2-2-29a3aa507609@codeconstruct.com.au
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/mctp/mctp-usb.c