summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_parser.py
diff options
context:
space:
mode:
authorAlok Tiwari <alok.a.tiwari@oracle.com>2025-06-02 13:34:29 +0300
committerDavid S. Miller <davem@davemloft.net>2025-06-04 14:06:13 +0300
commit12c331b29c7397ac3b03584e12902990693bc248 (patch)
tree03ce3dadb0cb208f04ffad344a35a847ffe65e54 /scripts/lib/kdoc/kdoc_parser.py
parentb56bbaf8c9ffe02468f6ba8757668e95dda7e62c (diff)
downloadlinux-12c331b29c7397ac3b03584e12902990693bc248.tar.xz
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 <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>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions