mirror of
https://github.com/torvalds/linux.git
synced 2026-09-19 00:58:02 +02:00
nv_remove() frees the per-CPU txrx_stats before unregister_netdev().
Until unregister completes, ndo_get_stats64, the NAPI/xmit data path,
and nv_close()/drain may still access txrx_stats, leading to a
use-after-free.
Free the stats only after unregister_netdev().
Fixes:
|
||
|---|---|---|
| .. | ||
| forcedeth.c | ||
| Kconfig | ||
| Makefile | ||