Files
linux/drivers/net/netdevsim
Jakub Kicinski 5e95c0a3a5 netdevsim: fix UaF when counting Tx stats
skb may be freed as soon as we put it on the rx queue.
Use the len variable like the code did prior to the conversion.

Fixes: f9e2511d80 ("netdevsim: migrate to dstats stats collection")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Acked-by: David S. Miller <davem@davemloft.net>
Reviewed-by: Breno Leitao <leitao@debian.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2025-06-22 18:50:23 +01:00
..
2025-03-12 13:39:59 -07:00
2023-07-14 09:16:53 +01:00