> -----Original Message-----
> From: Shradha Gupta <[email protected]>
> Sent: Sunday, September 1, 2024 11:46 PM
> To: [email protected]; [email protected]; linux-
> [email protected]; [email protected]
> Cc: Shradha Gupta <[email protected]>; KY Srinivasan
> <[email protected]>; Haiyang Zhang <[email protected]>; Wei Liu
> <[email protected]>; Dexuan Cui <[email protected]>; David S. Miller
> <[email protected]>; Eric Dumazet <[email protected]>; Jakub Kicinski
> <[email protected]>; Paolo Abeni <[email protected]>; Long Li
> <[email protected]>; Simon Horman <[email protected]>; Konstantin
> Taranov <[email protected]>; Souradeep Chakrabarti
> <[email protected]>; Erick Archer
> <[email protected]>; Pavan Chebbi <[email protected]>;
> Ahmed Zaki <[email protected]>; Colin Ian King
> <[email protected]>; Shradha Gupta <[email protected]>
> Subject: [PATCH net-next v2] net: mana: Improve mana_set_channels() in
> low mem conditions
> 
> The mana_set_channels() function requires detaching the mana
> driver and reattaching it with changed channel values.
> During this operation if the system is low on memory, the reattach
> might fail, causing the network device being down.
> To avoid this we pre-allocate buffers at the beginning of set operation,
> to prevent complete network loss
> 
> Signed-off-by: Shradha Gupta <[email protected]>

Thanks.
Reviewed-by: Haiyang Zhang <[email protected]>


Reply via email to