On Wed, Apr 23, 2025 at 9:00 AM Cosmin Ratiu cratiu@nvidia.com wrote:
netdev_bind_rx takes ownership of the queue array passed as parameter and frees it, so a queue array buffer cannot be reused across multiple netdev_bind_rx calls.
This commit fixes that by always passing in a newly created queue array to all netdev_bind_rx calls in ncdevmem.
Fixes: 85585b4bc8d8 ("selftests: add ncdevmem, netcat for devmem TCP") Signed-off-by: Cosmin Ratiu cratiu@nvidia.com
Thank you!
Reviewed-by: Mina Almasry almasrymina@google.com