summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/rocker
diff options
context:
space:
mode:
authorPetr Machata <petrm@mellanox.com>2018-05-30 03:56:55 +0300
committerDavid S. Miller <davem@davemloft.net>2018-05-31 21:13:43 +0300
commitdbd6dc752c8a6de428eacad47d4fd37e52f98183 (patch)
tree569ae047d67febb61d0a10735313512863a00412 /drivers/net/ethernet/rocker
parentd66e4348969de33cccdd2bc3920b49fb0114b306 (diff)
downloadlinux-dbd6dc752c8a6de428eacad47d4fd37e52f98183.tar.xz
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>
Diffstat (limited to 'drivers/net/ethernet/rocker')
0 files changed, 0 insertions, 0 deletions