Thread (11 messages) 11 messages, 3 authors, 2025-02-11

Re: [PATCH net-next v6 0/7] tun: Unify vnet implementation

From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-02-11 03:30:13
Also in: kvm, linux-doc, linux-kselftest, lkml, virtualization

Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski [off-list ref]:

On Fri, 07 Feb 2025 15:10:50 +0900 you wrote:
When I implemented virtio's hash-related features to tun/tap [1],
I found tun/tap does not fill the entire region reserved for the virtio
header, leaving some uninitialized hole in the middle of the buffer
after read()/recvmesg().

This series fills the uninitialized hole. More concretely, the
num_buffers field will be initialized with 1, and the other fields will
be inialized with 0. Setting the num_buffers field to 1 is mandated by
virtio 1.0 [2].

[...]
Here is the summary with links:
  - [net-next,v6,1/7] tun: Refactor CONFIG_TUN_VNET_CROSS_LE
    https://git.kernel.org/netdev/net-next/c/5a9c5e5d8a1b
  - [net-next,v6,2/7] tun: Keep hdr_len in tun_get_user()
    https://git.kernel.org/netdev/net-next/c/07e8b3bae2f8
  - [net-next,v6,3/7] tun: Decouple vnet from tun_struct
    https://git.kernel.org/netdev/net-next/c/60df67b94804
  - [net-next,v6,4/7] tun: Decouple vnet handling
    https://git.kernel.org/netdev/net-next/c/2506251e81d1
  - [net-next,v6,5/7] tun: Extract the vnet handling code
    https://git.kernel.org/netdev/net-next/c/1d41e2fa93f7
  - [net-next,v6,6/7] tap: Keep hdr_len in tap_get_user()
    https://git.kernel.org/netdev/net-next/c/74212f20f366
  - [net-next,v6,7/7] tap: Use tun's vnet-related code
    https://git.kernel.org/netdev/net-next/c/6a53fc5a8770

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