summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorShailend Chand <shailend@google.com>2024-01-22 21:26:32 +0300
committerJakub Kicinski <kuba@kernel.org>2024-01-24 04:41:31 +0300
commitf3753771e7cc965c31eff20fa3d10056e64aa07c (patch)
treebdcdd94809653b6ddb794d6b1b6de326e4d3e479 /tools/perf/scripts/python
parent5f08cd3d6423e7ea81467e7216426d65b65297fa (diff)
downloadlinux-f3753771e7cc965c31eff20fa3d10056e64aa07c.tar.xz
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 <shailend@google.com> Reviewed-by: Willem de Bruijn <willemb@google.com> Reviewed-by: Jeroen de Borst <jeroendb@google.com> Link: https://lore.kernel.org/r/20240122182632.1102721-7-shailend@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions