Messages in this thread | | | Date | Tue, 27 Feb 2024 21:02:01 +0200 | Subject | Re: [PATCH net-next 1/2] net: bridge: Do not allocate stats in the driver | From | Nikolay Aleksandrov <> |
| |
On 2/27/24 20:23, Breno Leitao wrote: > 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> > --- > net/bridge/br_device.c | 13 ++----------- > 1 file changed, 2 insertions(+), 11 deletions(-) >
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
| |