lkml.org 
[lkml]   [2024]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH net-next 1/2] net: bridge: Do not allocate stats in the driver
From
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>


\
 
 \ /
  Last update: 2024-05-27 15:25    [W:0.073 / U:0.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site