diff options
| author | Toshiaki Makita <[email protected]> | 2013-10-16 08:07:13 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2013-10-18 20:02:52 +0000 |
| commit | 8adff41c3d259eb5e313b7b04669eee545925154 (patch) | |
| tree | 0457c19489a9c482ff5c15fc16729673aa633dda /net/unix/af_unix.c | |
| parent | bridge: Correctly clamp MAX forward_delay when enabling STP (diff) | |
| download | kernel-8adff41c3d259eb5e313b7b04669eee545925154.tar.gz kernel-8adff41c3d259eb5e313b7b04669eee545925154.zip | |
bridge: Don't use VID 0 and 4095 in vlan filtering
IEEE 802.1Q says that:
- VID 0 shall not be configured as a PVID, or configured in any Filtering
Database entry.
- VID 4095 shall not be configured as a PVID, or transmitted in a tag
header. This VID value may be used to indicate a wildcard match for the VID
in management operations or Filtering Database entries.
(See IEEE 802.1Q-2011 6.9.1 and Table 9-2)
Don't accept adding these VIDs in the vlan_filtering implementation.
Signed-off-by: Toshiaki Makita <[email protected]>
Reviewed-by: Vlad Yasevich <[email protected]>
Acked-by: Stephen Hemminger <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
