summaryrefslogtreecommitdiff
path: root/drivers/net/wireguard/netlink.c
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2024-03-14 16:49:07 -0600
committerPaolo Abeni <pabeni@redhat.com>2024-03-19 11:22:49 +0100
commita675be08469817211a68bbcb8c67429edcd49d34 (patch)
tree1fab06cd8935331ae799df8e5180fed613da8071 /drivers/net/wireguard/netlink.c
parentff5a5a5dbaaa35b3adda208bec504788fa0b42f9 (diff)
downloadwireguard-linux-trimmed-a675be08469817211a68bbcb8c67429edcd49d34.tar.gz
wireguard-linux-trimmed-a675be08469817211a68bbcb8c67429edcd49d34.zip
wireguard: device: leverage core stats allocator
With commit 34d21de99cea9 ("net: Move {l,t,d}stats allocation to core and convert veth & vrf"), stats allocation could be done on net core instead of in this driver. With this new approach, the driver doesn't have to bother with error handling (allocation failure checking, making sure free happens in the right spot, etc). This is core responsibility now. Remove the allocation in this driver and leverage the network core allocation instead. Signed-off-by: Breno Leitao <leitao@debian.org> Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Reviewed-by: Jiri Pirko <jiri@nvidia.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/wireguard/netlink.c')
0 files changed, 0 insertions, 0 deletions