Nikolay Aleksandrov
87aaf2caed
switchdev: check if the vlan id is in the proper vlan range
...
VLANs 0 and 4095 are reserved and shouldn't be used, add checks to
switchdev similar to the bridge. Also make sure ids above 4095 cannot
be passed either.
Fixes: 47f8328bb1a4 ("switchdev: add new switchdev bridge setlink")
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Acked-by: Scott Feldman <sfeldma@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-10-13 04:43:24 -07:00
..
2015-08-11 22:05:36 +02:00
2015-08-30 18:12:36 -04:00
2015-03-02 16:43:41 -05:00
2015-08-18 11:55:06 -07:00
2015-05-11 10:50:17 -04:00
2015-09-17 22:13:32 -07:00
2015-07-15 15:59:58 -07:00
2015-08-27 20:15:34 +02:00
2015-09-17 12:28:27 +02:00
2015-09-11 15:08:20 -07:00
2015-08-18 11:55:07 -07:00
2015-07-12 21:13:22 +02:00
2015-09-17 20:14:15 +03:00
2015-10-08 05:02:08 -07:00
2015-03-06 21:50:02 -05:00
2015-09-21 16:32:29 -07:00
2015-09-09 14:19:50 -07:00
2015-10-07 04:56:11 -07:00
2015-09-01 15:06:22 -07:00
2015-08-18 11:55:07 -07:00
2015-08-29 13:15:03 -07:00
2015-10-05 04:05:15 -07:00
2015-10-11 05:30:44 -07:00
2015-05-11 10:50:17 -04:00
2015-05-25 17:46:21 -04:00
2015-05-11 10:50:17 -04:00
2015-08-24 14:48:10 -07:00
2015-09-28 22:39:10 -07:00
2015-07-27 01:06:53 -07:00
2015-09-22 15:22:50 +02:00
2015-08-10 20:43:06 +02:00
2015-08-31 12:45:09 -07:00
2015-09-17 13:37:31 +02:00
2015-03-31 13:58:35 -04:00
2015-09-24 12:07:08 -07:00
2015-06-18 21:14:32 +02:00
2015-08-20 22:00:11 +02:00
2015-10-07 05:03:06 -07:00
2015-09-23 14:33:55 -07:00
2015-05-11 10:50:17 -04:00
2015-09-10 13:53:15 -07:00
2015-09-04 14:26:56 +02:00
2015-06-24 02:58:51 -07:00
2015-05-11 10:50:17 -04:00
2015-10-11 04:49:33 -07:00
2015-09-28 22:52:21 -07:00
2015-10-01 16:38:52 -04:00
2015-10-13 04:43:24 -07:00
2015-09-20 22:31:20 -07:00
2015-10-05 06:33:09 -07:00
2015-05-11 10:50:17 -04:00
2015-08-09 22:43:52 -07:00
2015-09-04 14:29:25 +02:00
2015-05-11 10:50:17 -04:00
2015-09-03 08:08:17 -07:00
2015-04-09 00:02:26 -04:00
2015-07-21 10:39:03 -07:00
2015-03-04 00:26:06 -05:00
2015-05-11 10:50:17 -04:00