Scott Feldman
3a7bde55a1
switchdev: fix: erasing too much of vlan obj when handling multiple vlan specs
...
When adding vlans with multiple IFLA_BRIDGE_VLAN_INFO attrs set in AFSPEC,
we would wipe the vlan obj struct after the first IFLA_BRIDGE_VLAN_INFO.
Fix this by only clearing what's necessary on each IFLA_BRIDGE_VLAN_INFO
iteration.
Fixes: 9e8f4a54 ("switchdev: push object ID back to object structure")
Signed-off-by: Scott Feldman <sfeldma@gmail.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-10-30 20:23:35 +09:00
..
2015-10-21 00:49:25 +02:00
2015-08-30 18:12:36 -04:00
2015-08-18 11:55:06 -07:00
2015-09-17 22:13:32 -07:00
2015-08-27 20:15:34 +02:00
2015-10-27 09:53:36 +01:00
2015-10-30 12:13:05 +09:00
2015-08-18 11:55:07 -07:00
2015-10-13 17:42:34 +02:00
2015-10-16 16:49:01 +02:00
2015-10-27 19:39:14 -07:00
2015-10-09 07:52:27 -07:00
2015-10-23 05:42:21 -07:00
2015-10-17 14:28:03 +02:00
2015-10-22 07:38:45 -07:00
2015-09-28 22:51:15 -07:00
2015-08-18 11:55:07 -07:00
2015-10-22 12:24:42 +02:00
2015-10-24 06:54:12 -07:00
2015-10-30 18:11:07 +09:00
2015-10-21 07:48:26 -07:00
2015-09-21 16:03:04 -07:00
2015-10-23 03:05:19 -07:00
2015-10-02 07:21:25 -07:00
2015-10-07 04:27:43 -07:00
2015-07-27 01:06:53 -07:00
2015-10-22 07:28:41 -07:00
2015-10-21 00:49:24 +02:00
2015-10-27 19:52:59 -07:00
2015-10-24 06:54:12 -07:00
2015-10-24 06:54:12 -07:00
2015-10-28 06:44:45 +01:00
2015-10-24 06:54:12 -07:00
2015-10-12 19:44:16 -07:00
2015-10-18 22:45:55 -07:00
2015-09-04 14:26:56 +02:00
2015-09-20 21:53:56 -07:00
2015-10-20 06:08:27 -07:00
2015-10-05 03:16:48 -07:00
2015-10-15 13:44:35 -07:00
2015-10-30 20:23:35 +09:00
2015-10-25 06:31:52 -07:00
2015-10-25 06:37:45 -07:00
2015-10-22 18:26:29 -07:00
2015-08-09 22:43:52 -07:00
2015-10-16 09:15:45 +02:00
2015-10-24 06:54:12 -07:00
2015-09-29 20:40:32 -07:00
2015-09-29 20:40:32 -07:00
2015-10-23 06:22:08 -07:00