aboutsummaryrefslogtreecommitdiffstats
path: root/net/bridge/br_vlan_tunnel.c
diff options
context:
space:
mode:
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>2020-01-14 19:56:12 +0200
committerDavid S. Miller <davem@davemloft.net>2020-01-15 13:48:18 +0100
commit0ab558795184f87b532363e262357160d25f5d64 (patch)
treeca3a3103c9023fe7763b14f3ef84731d0d24ef83 /net/bridge/br_vlan_tunnel.c
parentnet: bridge: vlan: add del rtm message support (diff)
downloadlinux-dev-0ab558795184f87b532363e262357160d25f5d64.tar.xz
linux-dev-0ab558795184f87b532363e262357160d25f5d64.zip
net: bridge: vlan: add rtm range support
Add a new vlandb nl attribute - BRIDGE_VLANDB_ENTRY_RANGE which causes RTM_NEWVLAN/DELVAN to act on a range. Dumps now automatically compress similar vlans into ranges. This will be also used when per-vlan options are introduced and vlans' options match, they will be put into a single range which is encapsulated in one netlink attribute. We need to run similar checks as br_process_vlan_info() does because these ranges will be used for options setting and they'll be able to skip br_process_vlan_info(). Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_vlan_tunnel.c')
0 files changed, 0 insertions, 0 deletions