commit | dbd6dc752c8a6de428eacad47d4fd37e52f98183 | [log] [tgz] |
---|---|---|
author | Petr Machata <petrm@mellanox.com> | Wed May 30 02:56:55 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu May 31 14:13:43 2018 -0400 |
tree | 569ae047d67febb61d0a10735313512863a00412 | |
parent | d66e4348969de33cccdd2bc3920b49fb0114b306 [diff] |
net: bridge: Extract br_vlan_add_existing() 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@mellanox.com> Reviewed-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>