aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/tests/fpga-mgr-test.c
diff options
context:
space:
mode:
authorAlok Tiwari <[email protected]>2025-06-02 10:34:29 +0000
committerDavid S. Miller <[email protected]>2025-06-04 11:06:13 +0000
commit12c331b29c7397ac3b03584e12902990693bc248 (patch)
tree03ce3dadb0cb208f04ffad344a35a847ffe65e54 /drivers/fpga/tests/fpga-mgr-test.c
parentMerge branch 'net-airoha-fix-ipv6-hw-acceleration' (diff)
downloadkernel-12c331b29c7397ac3b03584e12902990693bc248.tar.gz
kernel-12c331b29c7397ac3b03584e12902990693bc248.zip
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: a57e5de476be ("gve: DQO: Add TX path") Signed-off-by: Alok Tiwari <[email protected]> Reviewed-by: Mina Almasry <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions