Commit 0dd765fa authored by Sankararaman Jayaraman's avatar Sankararaman Jayaraman Committed by Jakub Kicinski
Browse files

vmxnet3: unregister xdp rxq info in the reset path



vmxnet3 does not unregister xdp rxq info in the
vmxnet3_reset_work() code path as vmxnet3_rq_destroy()
is not invoked in this code path. So, we get below message with a
backtrace.

Missing unregister, handled but fix driver
WARNING: CPU:48 PID: 500 at net/core/xdp.c:182
__xdp_rxq_info_reg+0x93/0xf0

This patch fixes the problem by moving the unregister
code of XDP from vmxnet3_rq_destroy() to vmxnet3_rq_cleanup().

Fixes: 54f00cce ("vmxnet3: Add XDP support.")
Signed-off-by: default avatarSankararaman Jayaraman <sankararaman.jayaraman@broadcom.com>
Signed-off-by: default avatarRonak Doshi <ronak.doshi@broadcom.com>
Link: https://patch.msgid.link/20250320045522.57892-1-sankararaman.jayaraman@broadcom.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent e1cd42a2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment