]> www.infradead.org Git - users/jedix/linux-maple.git/commit
netdevsim: allocate rqs individually
authorJakub Kicinski <kuba@kernel.org>
Tue, 7 Jan 2025 16:08:42 +0000 (08:08 -0800)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 9 Jan 2025 14:33:08 +0000 (15:33 +0100)
commit915c82f842f955429e347a53ce005604ad421343
treec403d5631e20b52d0c8953a423749367f89e90ae
parent00adf88b186fa09a0b4005bdcf440aa2f926a75b
netdevsim: allocate rqs individually

Make nsim->rqs an array of pointers and allocate them individually
so that we can swap them out one by one.

Reviewed-by: Willem de Bruijn <willemb@google.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/netdevsim/netdev.c
drivers/net/netdevsim/netdevsim.h