Files
linux/drivers
Alok Tiwari 12c331b29c gve: add missing NULL check for gve_alloc_pending_packet() in TX DQO
gve_alloc_pending_packet() can return NULL, but gve_tx_add_skb_dqo()
did not check for this case before dereferencing the returned pointer.

Add a missing NULL check to prevent a potential NULL pointer
dereference when allocation fails.

This improves robustness in low-memory scenarios.

Fixes: a57e5de476 ("gve: DQO: Add TX path")
Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
Reviewed-by: Mina Almasry <almasrymina@google.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2025-06-04 12:06:13 +01:00
..
2025-04-22 16:06:05 +09:00
2025-04-11 17:32:38 -07:00
2025-05-19 14:26:54 +02:00
2025-05-19 15:37:53 +05:30
2025-05-16 21:06:11 +02:00
2025-05-06 12:59:12 -06:00
2025-04-18 10:05:49 -04:00