diff options
| author | Jiawen Wu <[email protected]> | 2025-06-25 02:39:24 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2025-06-26 09:02:23 +0000 |
| commit | 85720e04d9af0b77f8092b12a06661a8d459d4a0 (patch) | |
| tree | 74387fb66e88a751adb1785508a985cf84e39202 /net/unix/af_unix.c | |
| parent | net: selftests: fix TCP packet checksum (diff) | |
| download | kernel-85720e04d9af0b77f8092b12a06661a8d459d4a0.tar.gz kernel-85720e04d9af0b77f8092b12a06661a8d459d4a0.zip | |
net: libwx: fix the creation of page_pool
'rx_ring->size' means the count of ring descriptors multiplied by the
size of one descriptor. When increasing the count of ring descriptors,
it may exceed the limit of pool size.
[ 864.209610] page_pool_create_percpu() gave up with errno -7
[ 864.209613] txgbe 0000:11:00.0: Page pool creation failed: -7
Fix to set the pool_size to the count of ring descriptors.
Fixes: 850b971110b2 ("net: libwx: Allocate Rx and Tx resources")
Cc: [email protected]
Signed-off-by: Jiawen Wu <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Reviewed-by: Mina Almasry <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
