diff options
author | Roopa Prabhu <roopa@cumulusnetworks.com> | 2017-02-07 16:12:00 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-08 14:39:19 -0500 |
commit | 8ef9594764617e3fd4500205b080b53c45c14c4b (patch) | |
tree | 23f2e375007afbce4b90ea32b98b3903c5fca0bb /net/netlabel | |
parent | 97e219b7c1f75b14b29abe28ad53e8709e8d15e5 (diff) |
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 'net/netlabel')
0 files changed, 0 insertions, 0 deletions