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

2018-05-30 Thread Nikolay Aleksandrov
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. >

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

2018-05-29 Thread Petr Machata
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 --- net/bridge/br