mirror of https://github.com/torvalds/linux.git
gve_rx_free_skb incorrectly leaves napi->skb referencing an skb after it
is freed with dev_kfree_skb_any(). This can result in a subsequent call
to napi_get_frags returning a dangling pointer.
Fix this by clearing napi->skb before the skb is freed.
Fixes:
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| gve.h | ||
| gve_adminq.c | ||
| gve_adminq.h | ||
| gve_desc.h | ||
| gve_desc_dqo.h | ||
| gve_dqo.h | ||
| gve_ethtool.c | ||
| gve_main.c | ||
| gve_register.h | ||
| gve_rx.c | ||
| gve_rx_dqo.c | ||
| gve_tx.c | ||
| gve_tx_dqo.c | ||
| gve_utils.c | ||
| gve_utils.h | ||