summaryrefslogtreecommitdiff
path: root/include/linux/tcp.h
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2024-02-27 10:23:36 -0800
committerJakub Kicinski <kuba@kernel.org>2024-02-28 20:15:32 -0800
commitd35150c79ffcd730e3c9f20cf128288606e3bf3b (patch)
treef1e833d64750a1573eefc32f49077749d3a31802 /include/linux/tcp.h
parent8a7746982ed797e1f511dece56c6675f0f845d6f (diff)
net: bridge: 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 bridge driver and leverage the network core allocation. Signed-off-by: Breno Leitao <leitao@debian.org> Acked-by: Nikolay Aleksandrov <razor@blackwall.org> Link: https://lore.kernel.org/r/20240227182338.2739884-1-leitao@debian.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/tcp.h')
0 files changed, 0 insertions, 0 deletions