summaryrefslogtreecommitdiff
path: root/net/netfilter
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2024-02-21 08:17:32 -0800
committerJakub Kicinski <kuba@kernel.org>2024-02-22 18:57:53 -0800
commit3e7a0dccf0703edd3a2d9e3361f672241c31773b (patch)
tree1386e116c12a83854f31c93d903ce52b4785db06 /net/netfilter
parentbcc115760ff32a5a256129a6eb39840288d269bd (diff)
ipv6/sit: Do not allocate stats in the driver
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 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 the ipv6/sit driver and leverage the network core allocation. Signed-off-by: Breno Leitao <leitao@debian.org> Reviewed-by: Simon Horman <horms@kernel.org> Reviewed-by: David Ahern <dsahern@kernel.org> Link: https://lore.kernel.org/r/20240221161732.3026127-1-leitao@debian.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/netfilter')
0 files changed, 0 insertions, 0 deletions