Re: [PATCH v2 16/20] net/failsafe: fix mutex locking

2023-02-24 Thread Gaƫtan Rivet
On Fri, Feb 24, 2023, at 16:11, David Marchand wrote: > The pthread mutex API describes cases where locking might fail. > Check fts_enter wrapper return code. > > Signed-off-by: David Marchand Hello David, Thanks for the fix, Acked-by: Gaetan Rivet -- Gaetan Rivet

[PATCH v2 16/20] net/failsafe: fix mutex locking

2023-02-24 Thread David Marchand
The pthread mutex API describes cases where locking might fail. Check fts_enter wrapper return code. Signed-off-by: David Marchand --- drivers/net/failsafe/failsafe_ether.c | 3 +- drivers/net/failsafe/failsafe_flow.c | 23 +++-- drivers/net/failsafe/failsafe_ops.c | 142 ++