]> git.baikalelectronics.ru Git - kernel.git/commit
wireguard: receive: use dev_sw_netstats_rx_add()
authorEric Dumazet <edumazet@google.com>
Wed, 8 Jun 2022 15:46:36 +0000 (08:46 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 10 Jun 2022 04:53:10 +0000 (21:53 -0700)
commit1a67a4318035269dbec45e462654d2361b194f53
treeb5c26133e8ceed667bb61ccb9a4ec77c64632aeb
parentf6cb8ccc00c2126bb5cda743b82a450a98586b03
wireguard: receive: use dev_sw_netstats_rx_add()

We have a convenient helper, let's use it.
This will make the following patch easier to review and smaller.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/wireguard/receive.c