Re: [PATCH RFC 1/3] net: bridge: log state when setting it

From: Vivien Didelot
Date: Sat Feb 13 2016 - 16:49:54 EST


Hi Ido,

Ido Schimmel <idosch@xxxxxxxxxxxx> writes:

> Fri, Feb 12, 2016 at 11:34:18PM IST, vivien.didelot@xxxxxxxxxxxxxxxxxxxx wrote:
>
> Hi Vivien,
>
>>Every call to br_set_state is followed by a call to br_log_state.
>>Directly call it within br_set_state instead.
>>
>>Signed-off-by: Vivien Didelot <vivien.didelot@xxxxxxxxxxxxxxxxxxxx>
>>---
>
> Maybe I'm missing something, but there are other instances of this
> pattern throughout the code, so why not convert them as well? See
> br_set_port_state() for example.

Good catch, I'll factorize that and send this as a unique patch then.

Thanks,
-v