diff options
author | Shailend Chand <[email protected]> | 2024-01-22 18:26:31 +0000 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-01-23 17:41:31 -0800 |
commit | 5f08cd3d6423e7ea81467e7216426d65b65297fa (patch) | |
tree | 58bcad1900de9242aa140dce1fa3d2189bfd9a9e /lib/crypto/mpi/mpi-mod.c | |
parent | 92a6d7a4010c3e84894f4fb7f481e648f0b12e53 (diff) |
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: Shailend Chand <[email protected]>
Reviewed-by: Willem de Bruijn <[email protected]>
Reviewed-by: Jeroen de Borst <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions