vsock/virtio: use skb_frag_*() helpers
authorMina Almasry <almasrymina@google.com>
Tue, 2 Jan 2024 20:59:04 +0000 (12:59 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 4 Jan 2024 02:37:16 +0000 (18:37 -0800)
commit06d9b446c4d445f0facb4b87cbbaeacd28c5a747
treea9687dad83fc288397c548cae7df3ae5a5f0799d
parent530496985ceae54b78c301baf7819eac0012d0f8
vsock/virtio: use skb_frag_*() helpers

Minor fix for virtio: code wanting to access the fields inside an skb
frag should use the skb_frag_*() helpers, instead of accessing the
fields directly. This allows for extensions where the underlying
memory is not a page.

Acked-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Mina Almasry <almasrymina@google.com>
Link: https://lore.kernel.org/r/20240102205905.793738-1-almasrymina@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/vmw_vsock/virtio_transport.c