diff options
author | Nikolay Aleksandrov <nikolay@cumulusnetworks.com> | 2015-10-12 14:31:01 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-13 04:43:24 -0700 |
commit | 87aaf2caed8496404d3809edc30d38d4a4a5d273 (patch) | |
tree | ed9ac3f950aca975ce8fc23c8b8fa047d41d05c6 /fs/f2fs | |
parent | 1f225031fee6c39cbbf2a6c79cb150ff63f0556c (diff) |
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>
Diffstat (limited to 'fs/f2fs')
0 files changed, 0 insertions, 0 deletions