diff options
author | Shailend Chand <[email protected]> | 2024-01-22 18:26:32 +0000 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-01-23 17:41:31 -0800 |
commit | f3753771e7cc965c31eff20fa3d10056e64aa07c (patch) | |
tree | bdcdd94809653b6ddb794d6b1b6de326e4d3e479 /lib/crypto/mpi/mpiutil.c | |
parent | 5f08cd3d6423e7ea81467e7216426d65b65297fa (diff) |
gve: Alloc before freeing when changing features
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 feature flags 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/mpiutil.c')
0 files changed, 0 insertions, 0 deletions