[PATCH net-next v4 2/8] net: bridge: Extract br_vlan_add_existing()

Nikolay Aleksandrov nikolay at cumulusnetworks.com
Wed May 30 15:15:53 UTC 2018


On 30/05/18 03:56, Petr Machata wrote:
> Extract the code that deals with adding a preexisting VLAN to bridge CPU
> port to a separate function. A follow-up patch introduces a need to roll
> back operations in this block due to an error, and this split will make
> the error-handling code clearer.
> 
> Signed-off-by: Petr Machata <petrm at mellanox.com>
> ---
>  net/bridge/br_vlan.c | 55 +++++++++++++++++++++++++++++++---------------------
>  1 file changed, 33 insertions(+), 22 deletions(-)
> 

Reviewed-by: Nikolay Aleksandrov <nikolay at cumulusnetworks.com>




More information about the devel mailing list