diff options
author | David Awogbemila <[email protected]> | 2021-05-17 14:08:13 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-05-17 15:38:40 -0700 |
commit | 5218e919c8d06279884aa0baf76778a6817d5b93 (patch) | |
tree | 0dafc60fe20fd26cceb19f60731471462aae9114 /tools/perf/scripts/python/syscall-counts.py | |
parent | e96b491a0ffa35a8a9607c193fa4d894ca9fb32f (diff) |
gve: Add NULL pointer checks when freeing irqs.
When freeing notification blocks, we index priv->msix_vectors.
If we failed to allocate priv->msix_vectors (see abort_with_msix_vectors)
this could lead to a NULL pointer dereference if the driver is unloaded.
Fixes: 893ce44df565 ("gve: Add basic driver framework for Compute Engine Virtual NIC")
Signed-off-by: David Awogbemila <[email protected]>
Acked-by: Willem de Brujin <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions