aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorTaehee Yoo <[email protected]>2025-03-09 13:42:18 +0000
committerJakub Kicinski <[email protected]>2025-03-10 20:31:12 +0000
commita70f891e0fa0435379ad4950e156a15a4ef88b4d (patch)
treee3771070559f81e92e46aa389c46d883c4d6d46d /net/switchdev/switchdev.c
parenteth: bnxt: fix memory leak in queue reset (diff)
downloadkernel-a70f891e0fa0435379ad4950e156a15a4ef88b4d.tar.gz
kernel-a70f891e0fa0435379ad4950e156a15a4ef88b4d.zip
net: devmem: do not WARN conditionally after netdev_rx_queue_restart()
When devmem socket is closed, netdev_rx_queue_restart() is called to reset queue by the net_devmem_unbind_dmabuf(). But callback may return -ENETDOWN if the interface is down because queues are already freed when the interface is down so queue reset is not needed. So, it should not warn if the return value is -ENETDOWN. Signed-off-by: Taehee Yoo <[email protected]> Reviewed-by: Mina Almasry <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions