Roopa Prabhu
8ef9594764
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>
2017-02-08 14:39:19 -05:00
..
2017-01-22 16:46:13 -05:00
2016-09-23 13:47:44 -04:00
2016-12-24 11:46:01 -08:00
2017-02-06 11:25:57 -05:00
2016-09-10 21:19:10 -07:00
2016-12-28 15:11:32 -05:00
2017-01-16 14:39:58 -05:00
2017-01-29 19:21:26 -05:00
2016-12-16 10:24:44 -08:00
2017-02-08 14:39:19 -05:00
2017-01-19 11:45:21 -05:00
2017-01-30 11:05:04 +01:00
2017-01-18 17:58:45 +01:00
2017-02-08 14:38:18 -05:00
2016-12-03 23:54:25 -05:00
2017-01-28 10:33:06 -05:00
2016-12-24 11:46:01 -08:00
2016-04-11 22:37:37 +01:00
2017-02-07 13:48:22 -05:00
2017-01-29 19:24:12 -05:00
2017-02-06 16:33:29 -05:00
2016-12-16 00:13:43 +02:00
2017-02-03 15:16:45 -05:00
2017-02-08 14:38:18 -05:00
2017-02-08 14:38:18 -05:00
2016-12-25 17:21:22 +01:00
2016-12-24 11:46:01 -08:00
2017-01-10 21:08:29 -05:00
2016-10-07 15:36:58 -07:00
2016-11-18 10:59:15 -05:00
2017-02-07 13:07:47 -05:00
2016-09-10 23:12:53 -07:00
2016-12-24 11:46:01 -08:00
2016-11-14 13:17:21 -05:00
2017-02-07 16:29:30 -05:00
2016-12-25 17:21:22 +01:00
2017-01-30 15:14:22 -05:00
2016-10-20 11:23:08 -04:00
2017-02-03 16:58:20 -05:00
2017-01-06 22:20:45 -05:00
2017-01-27 12:03:29 -05:00
2016-10-27 16:16:09 -04:00
2017-02-03 16:58:20 -05:00
2017-01-28 10:33:06 -05:00
2016-11-18 10:59:15 -05:00
2017-01-24 13:44:28 -05:00
2017-01-10 20:45:04 -05:00
2017-01-06 22:14:26 -05:00
2017-01-09 11:40:33 +01:00
2016-12-24 11:46:01 -08:00
2017-01-09 11:10:02 +00:00
2017-02-07 11:42:34 -05:00
2017-02-07 16:29:30 -05:00
2017-01-30 16:37:55 -05:00
2016-10-12 01:51:49 -04:00
2017-01-31 12:29:24 -05:00
2016-10-30 12:42:58 -04:00
2017-01-28 10:33:06 -05:00
2017-02-02 21:58:02 -05:00
2016-12-17 20:17:04 -08:00
2016-10-27 16:16:09 -04:00
2017-02-07 16:29:30 -05:00
2016-12-24 11:46:01 -08:00
2017-02-08 14:38:18 -05:00
2017-01-04 13:24:19 -05:00
2017-02-08 14:38:18 -05:00
2017-02-03 15:16:45 -05:00
2017-01-11 14:43:39 -05:00
2016-10-06 09:52:23 -07:00