]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Merge branch 'vsock-virtio-fix-vsockmon-tap-skb-construction'
authorPaolo Abeni <pabeni@redhat.com>
Tue, 12 May 2026 10:52:17 +0000 (12:52 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 12 May 2026 10:52:18 +0000 (12:52 +0200)
commit93d809adc13001e9d3a3ceb8d1e60fae2fb740d6
tree0b4ab751d0486fac74635d8a7013690076b1c0a4
parent911f54771ca97947cfdca360e9e9b4147a330740
parent3a3e3d90cbc79600544536723911657730759af3
Merge branch 'vsock-virtio-fix-vsockmon-tap-skb-construction'

Stefano Garzarella says:

====================
vsock/virtio: fix vsockmon tap skb construction

While reviewing the patch posted by Yiqi Sun [1] to fix an issue in
virtio_transport_build_skb(), I discovered another issue related to
the offset and length of the payload to be copied in the new skb.
This was introduced when we did the skb conversion, and fixed by
patch 1.

Patch 2 fixes the issue found by Yiqi Sun in a different way: using
iov_iter_kvec() to properly initialize all the iov_iter fields and
removing the linear vs non-linear split like we alredy do in
vhost-vsock.

It could have been a single patch, but since there were two affected
commits, I decided to keep the fixes separate.

[1] https://lore.kernel.org/netdev/20260430071110.380509-1-sunyiqixm@gmail.com/
====================

Link: https://patch.msgid.link/20260508164411.261440-1-sgarzare@redhat.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>