aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/rust/pin-init/internal/src
diff options
context:
space:
mode:
authorBui Quang Minh <minhquangbui99@gmail.com>2025-06-30 21:42:11 +0700
committerPaolo Abeni <pabeni@redhat.com>2025-07-03 10:56:55 +0200
commit4be2193b3393dca33504793fe7586fed547abb5d (patch)
treec8243b512778c1bf3cd99db0a63963fae4db36f0 /rust/pin-init/internal/src
parentvirtio-net: ensure the received length does not exceed allocated size (diff)
downloadwireguard-linux-4be2193b3393dca33504793fe7586fed547abb5d.tar.xz
wireguard-linux-4be2193b3393dca33504793fe7586fed547abb5d.zip
virtio-net: remove redundant truesize check with PAGE_SIZE
The truesize is guaranteed not to exceed PAGE_SIZE in get_mergeable_buf_len(). It is saved in mergeable context, which is not changeable by the host side, so the check in receive path is quite redundant. Acked-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Bui Quang Minh <minhquangbui99@gmail.com> Link: https://patch.msgid.link/20250630144212.48471-3-minhquangbui99@gmail.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'rust/pin-init/internal/src')
0 files changed, 0 insertions, 0 deletions