]> git.dujemihanovic.xyz Git - linux.git/commit
gve: Make the GQ RX free queue funcs idempotent
authorShailend Chand <shailend@google.com>
Wed, 1 May 2024 23:25:41 +0000 (23:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 May 2024 13:35:33 +0000 (14:35 +0100)
commitdcecfcf21bd139f90f94f630ae86122a98267685
tree00dfc182a24bb4096c44fe48e0edf13a240ebd20
parent087b24de5c825c53f15a9481b94f757223c20610
gve: Make the GQ RX free queue funcs idempotent

Although this is not fixing any existing double free bug, making these
functions idempotent allows for a simpler implementation of future ndo
hooks that act on a single queue.

Tested-by: Mina Almasry <almasrymina@google.com>
Reviewed-by: Praveen Kaligineedi <pkaligineedi@google.com>
Reviewed-by: Harshitha Ramamurthy <hramamurthy@google.com>
Signed-off-by: Shailend Chand <shailend@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/google/gve/gve_rx.c