Re: [PATCH net] switchdev: check if the vlan id is in the proper vlan range

2015-10-13 Thread David Miller
From: Nikolay Aleksandrov Date: Mon, 12 Oct 2015 14:31:01 +0200 > From: Nikolay Aleksandrov > > 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: ad

Re: [PATCH net] switchdev: check if the vlan id is in the proper vlan range

2015-10-12 Thread Scott Feldman
On Mon, Oct 12, 2015 at 5:31 AM, Nikolay Aleksandrov wrote: > From: Nikolay Aleksandrov > > 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 s

[PATCH net] switchdev: check if the vlan id is in the proper vlan range

2015-10-12 Thread Nikolay Aleksandrov
From: Nikolay Aleksandrov 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 --- net/sw