diff options
author | Roopa Prabhu <roopa@cumulusnetworks.com> | 2017-02-08 01:12:00 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-08 20:39:19 +0100 |
commit | 8ef9594764617e3fd4500205b080b53c45c14c4b (patch) | |
tree | 23f2e375007afbce4b90ea32b98b3903c5fca0bb /scripts/Makefile.headersinst | |
parent | gro_cells: move to net/core/gro_cells.c (diff) | |
download | linux-8ef9594764617e3fd4500205b080b53c45c14c4b.tar.xz linux-8ef9594764617e3fd4500205b080b53c45c14c4b.zip |
bridge: vlan tunnel id info range fill size calc cleanups
This fixes a bug and cleans up tunnelid range size
calculation code by using consistent variable names
and checks in size calculation and fill functions.
tested for a few cases of vlan-vni range mappings:
(output from patched iproute2):
$bridge vlan showtunnel
port vid tunid
vxlan0 100-105 1000-1005
200 2000
210 2100
211-213 2100-2102
214 2104
216-217 2108-2109
219 2119
Fixes: efa5356b0d97 ("bridge: per vlan dst_metadata netlink support")
Reported-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/Makefile.headersinst')
0 files changed, 0 insertions, 0 deletions