iproute2/bridge
Nikolay Aleksandrov 12fbe3e4eb bridge: vlan: set vlan option attributes while parsing
Set vlan option attributes immediately while parsing to simplify the
checks, avoid having reserved values (e.g. -1 for unset var) and have
more limited scope for the variables. This is also similar to how global
vlan options are set. The attribute setting and checks are moved with
option parsing, no functional changes intended.

Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
2021-09-06 17:00:31 -06:00
..
.gitignore Add bridge command 2012-08-01 15:23:49 -07:00
br_common.h bridge: vlan: add support for dumping router ports 2021-08-31 21:29:31 -06:00
bridge.c Merge branch 'main' into next 2020-11-24 22:04:48 -07:00
fdb.c Merge branch 'main' into next 2020-08-06 16:21:35 +00:00
link.c bridge: add parse_stp_state helper 2021-04-22 05:13:20 +00:00
Makefile SPDX license identifiers 2017-11-24 12:21:35 -08:00
mdb.c bridge: vlan: add support for dumping router ports 2021-08-31 21:29:31 -06:00
monitor.c bridge: vlan: add support to show global vlan options 2021-08-31 21:21:04 -06:00
vlan.c bridge: vlan: set vlan option attributes while parsing 2021-09-06 17:00:31 -06:00