Thread (5 messages) 5 messages, 5 authors, 2025-02-21

Re: [PATCH net-next v2] tun: Pad virtio headers

From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-02-20 23:10:14
Also in: kvm, linux-doc, linux-kselftest, lkml, virtualization

Hello:

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

On Sat, 15 Feb 2025 15:04:50 +0900 you wrote:
tun simply advances iov_iter when it needs to pad virtio header,
which leaves the garbage in the buffer as is. This will become
especially problematic when tun starts to allow enabling the hash
reporting feature; even if the feature is enabled, the packet may lack a
hash value and may contain a hole in the virtio header because the
packet arrived before the feature gets enabled or does not contain the
header fields to be hashed. If the hole is not filled with zero, it is
impossible to tell if the packet lacks a hash value.

[...]
Here is the summary with links:
  - [net-next,v2] tun: Pad virtio headers
    https://git.kernel.org/netdev/net-next/c/4adf74971018

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