]> git.ipfire.org Git - thirdparty/linux.git/commit
bareudp: Use pcpu stats to update rx_dropped counter.
authorGuillaume Nault <gnault@redhat.com>
Fri, 18 Oct 2024 13:35:28 +0000 (15:35 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Oct 2024 11:16:32 +0000 (11:16 +0000)
commit788d5d655bc94ded8a2b550caa03ba4c255c55eb
tree1f02dcd38b9a91b02aee64bbd64c236c00da19a0
parent03fc07a24735e0be8646563913abf5f5cb71ad19
bareudp: Use pcpu stats to update rx_dropped counter.

Use the core_stats rx_dropped counter to avoid the cost of atomic
increments.

Signed-off-by: Guillaume Nault <gnault@redhat.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bareudp.c