Thread (6 messages) 6 messages, 5 authors, 2023-05-15

Re: [PATCH net v6] virtio_net: Fix error unwinding of XDP initialization

From: patchwork-bot+netdevbpf@kernel.org
Date: 2023-05-15 07:50:25
Also in: bpf, lkml

Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller [off-list ref]:

On Fri, 12 May 2023 11:18:12 -0400 you wrote:
When initializing XDP in virtnet_open(), some rq xdp initialization
may hit an error causing net device open failed. However, previous
rqs have already initialized XDP and enabled NAPI, which is not the
expected behavior. Need to roll back the previous rq initialization
to avoid leaks in error unwinding of init code.

Also extract helper functions of disable and enable queue pairs.
Use newly introduced disable helper function in error unwinding and
virtnet_close. Use enable helper function in virtnet_open.

[...]
Here is the summary with links:
  - [net,v6] virtio_net: Fix error unwinding of XDP initialization
    https://git.kernel.org/netdev/net/c/5306623a9826

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help