switchdev: enforce no pvid flag in vlan ranges
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Mon, 12 Oct 2015 12:01:39 +0000 (14:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Oct 2015 11:41:40 +0000 (04:41 -0700)
commitcc02aa8e41c50f690d0bb22ed5629468483421b7
tree3c80c667e92619ba46b4f7d3a45709718ae4880b
parentf83665d0c41f3e24602f7dd03003574f852b326f
switchdev: enforce no pvid flag in vlan ranges

We shouldn't allow BRIDGE_VLAN_INFO_PVID flag in VLAN ranges.

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Acked-by: Elad Raz <eladr@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/switchdev/switchdev.c