aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2025-06-20 17:40:07 +0000
committerDavid S. Miller <[email protected]>2025-06-22 17:50:23 +0000
commit5e95c0a3a55aea490420bd6994805edb050cc86b (patch)
treee27bbc40135d498ba0e8bdf8f99fd145c4f36582 /net/unix/unix_bpf.c
parentselftest: add selftest for anycast notifications (diff)
downloadkernel-5e95c0a3a55aea490420bd6994805edb050cc86b.tar.gz
kernel-5e95c0a3a55aea490420bd6994805edb050cc86b.zip
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: f9e2511d80c2 ("netdevsim: migrate to dstats stats collection") Signed-off-by: Jakub Kicinski <[email protected]> Acked-by: David S. Miller <[email protected]> Reviewed-by: Breno Leitao <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions