]> git.baikalelectronics.ru Git - kernel.git/commit
gve: Check TX QPL was actually assigned
authorCatherine Sullivan <csully@google.com>
Mon, 17 May 2021 21:08:11 +0000 (14:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 May 2021 22:38:40 +0000 (15:38 -0700)
commit2a68073d12a32000161fdc8ed1ebec645c359889
treee9e8908cfb2586b89a1a39b7726cbb937c3d4981
parent411605ca21bfe9ee5eff6973ee005290cad4dfb0
gve: Check TX QPL was actually assigned

Correctly check the TX QPL was assigned and unassigned if
other steps in the allocation fail.

Fixes: a4381dfb8043 (gve: Add transmit and receive support)
Signed-off-by: Catherine Sullivan <csully@google.com>
Signed-off-by: David Awogbemila <awogbemila@google.com>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/google/gve/gve_tx.c