Skip to content
Snippets Groups Projects
Commit 5f08cd3d authored by Shailend Chand's avatar Shailend Chand Committed by Jakub Kicinski
Browse files

gve: Alloc before freeing when adjusting queues


Previously, existing queues were being freed before the resources for
the new queues were being allocated. This would take down the interface
if someone were to attempt to change queue counts under a resource
crunch.

Signed-off-by: default avatarShailend Chand <shailend@google.com>
Reviewed-by: default avatarWillem de Bruijn <willemb@google.com>
Reviewed-by: default avatarJeroen de Borst <jeroendb@google.com>
Link: https://lore.kernel.org/r/20240122182632.1102721-6-shailend@google.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 92a6d7a4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment