summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2025-06-20 10:40:07 -0700
committerDavid S. Miller <davem@davemloft.net>2025-06-22 18:50:23 +0100
commit5e95c0a3a55aea490420bd6994805edb050cc86b (patch)
treee27bbc40135d498ba0e8bdf8f99fd145c4f36582 /net/unix/af_unix.c
parent14966a8df77e2dffdf765b56abe194aa6b0da325 (diff)
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 <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>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions