aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/arch/arm64/include/uapi/git:/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2026-04-30 12:26:52 +0000
committerJakub Kicinski <kuba@kernel.org>2026-05-04 19:12:37 -0700
commit059b7dbd20a6f0c539a45ddff1573cb8946685b5 (patch)
tree3ff47e158434a15b5f48cd8a668fb1e4a7690548 /tools/arch/arm64/include/uapi/git:/ssh:/git@git.zx2c4.com
parentnet: usb: asix: ax88772: re-add usbnet_link_change() in phylink callbacks (diff)
vsock/virtio: fix potential unbounded skb queue
virtio_transport_inc_rx_pkt() checks vvs->rx_bytes + len > vvs->buf_alloc. virtio_transport_recv_enqueue() skips coalescing for packets with VIRTIO_VSOCK_SEQ_EOM. If fed with packets with len == 0 and VIRTIO_VSOCK_SEQ_EOM, a very large number of packets can be queued because vvs->rx_bytes stays at 0. Fix this by estimating the skb metadata size: (Number of skbs in the queue) * SKB_TRUESIZE(0) Fixes: 077706165717 ("virtio/vsock: don't use skbuff state to account credit") Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Arseniy Krasnov <AVKrasnov@sberdevices.ru> Cc: Stefan Hajnoczi <stefanha@redhat.com> Cc: Stefano Garzarella <sgarzare@redhat.com> Cc: "Michael S. Tsirkin" <mst@redhat.com> Cc: Jason Wang <jasowang@redhat.com> Cc: Xuan Zhuo <xuanzhuo@linux.alibaba.com> Cc: "Eugenio Pérez" <eperezma@redhat.com> Cc: virtualization@lists.linux.dev Link: https://patch.msgid.link/20260430122653.554058-1-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/arch/arm64/include/uapi/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions