diff options
author | Bui Quang Minh <minhquangbui99@gmail.com> | 2025-06-30 21:42:11 +0700 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-07-03 10:56:55 +0200 |
commit | 4be2193b3393dca33504793fe7586fed547abb5d (patch) | |
tree | c8243b512778c1bf3cd99db0a63963fae4db36f0 /scripts/lib/kdoc/kdoc_files.py | |
parent | 315dbdd7cdf6aa533829774caaf4d25f1fd20e73 (diff) |
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 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions