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: 893ce44d ("gve: Add basic driver framework for Compute Engine Virtual NIC") Signed-off-by:David Awogbemila <awogbemila@google.com> Acked-by:
Willem de Brujin <willemb@google.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
parent
e96b491a