1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet/google/gve
Ameer Hamza e6f60c51f0 gve: fix for null pointer dereference.
Avoid passing NULL skb to __skb_put() function call if
napi_alloc_skb() returns NULL.

Fixes: 37149e9374 ("gve: Implement packet continuation for RX.")
Signed-off-by: Ameer Hamza <amhamza.mgc@gmail.com>
Link: https://lore.kernel.org/r/20211205183810.8299-1-amhamza.mgc@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-12-07 20:57:17 -08:00
..
gve.h gve: Implement packet continuation for RX. 2021-10-25 14:13:12 +01:00
gve_adminq.c gve: Add a jumbo-frame device option. 2021-10-25 14:13:12 +01:00
gve_adminq.h gve: Add a jumbo-frame device option. 2021-10-25 14:13:12 +01:00
gve_desc.h gve: Implement packet continuation for RX. 2021-10-25 14:13:12 +01:00
gve_desc_dqo.h gve: Add dqo descriptors 2021-06-24 12:47:37 -07:00
gve_dqo.h gve: DQO: Add TX path 2021-06-24 12:47:38 -07:00
gve_ethtool.c gve: Implement packet continuation for RX. 2021-10-25 14:13:12 +01:00
gve_main.c gve: Fix off by one in gve_tx_timeout() 2021-11-09 13:58:46 +00:00
gve_register.h gve: Add Gvnic stats AQ command and ethtool show/set-priv-flags. 2020-09-11 14:31:54 -07:00
gve_rx.c gve: fix unmatched u64_stats_update_end() 2021-11-10 14:42:25 +00:00
gve_rx_dqo.c gve: Implement packet continuation for RX. 2021-10-25 14:13:12 +01:00
gve_tx.c gve: Do lazy cleanup in TX path 2021-10-11 23:25:35 +01:00
gve_tx_dqo.c gve: DQO: avoid unused variable warnings 2021-09-28 15:24:36 +01:00
gve_utils.c gve: fix for null pointer dereference. 2021-12-07 20:57:17 -08:00
gve_utils.h gve: Implement packet continuation for RX. 2021-10-25 14:13:12 +01:00
Makefile gve: DQO: Add core netdev features 2021-06-24 12:47:38 -07:00