diff options
| author | Nikolay Aleksandrov <[email protected]> | 2015-10-11 10:49:56 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-10-13 02:59:15 +0000 |
| commit | 6623c60dc28ee966cd85c6f12aa2fc3c952d0179 (patch) | |
| tree | de0a5d416660a96ef4248d0e5953b1bd8b1e8ff1 /net/switchdev/switchdev.c | |
| parent | atm: iphase: fix misleading indention (diff) | |
| download | kernel-6623c60dc28ee966cd85c6f12aa2fc3c952d0179.tar.gz kernel-6623c60dc28ee966cd85c6f12aa2fc3c952d0179.zip | |
bridge: vlan: enforce no pvid flag in vlan ranges
Currently it's possible for someone to send a vlan range to the kernel
with the pvid flag set which will result in the pvid bouncing from a
vlan to vlan and isn't correct, it also introduces problems for hardware
where it doesn't make sense having more than 1 pvid. iproute2 already
enforces this, so let's enforce it on kernel-side as well.
Reported-by: Elad Raz <[email protected]>
Signed-off-by: Nikolay Aleksandrov <[email protected]>
Acked-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
