aboutsummaryrefslogtreecommitdiffstats
path: root/net/bridge/netfilter/ebt_vlan.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/bridge/netfilter/ebt_vlan.c')
-rw-r--r--net/bridge/netfilter/ebt_vlan.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/bridge/netfilter/ebt_vlan.c b/net/bridge/netfilter/ebt_vlan.c
index 7ee37762296..a43c697d3d7 100644
--- a/net/bridge/netfilter/ebt_vlan.c
+++ b/net/bridge/netfilter/ebt_vlan.c
@@ -128,9 +128,9 @@ ebt_check_vlan(const char *tablename,
128 128
129 /* Reserved VLAN ID (VID) values 129 /* Reserved VLAN ID (VID) values
130 * ----------------------------- 130 * -----------------------------
131 * 0 - The null VLAN ID. 131 * 0 - The null VLAN ID.
132 * 1 - The default Port VID (PVID) 132 * 1 - The default Port VID (PVID)
133 * 0x0FFF - Reserved for implementation use. 133 * 0x0FFF - Reserved for implementation use.
134 * if_vlan.h: VLAN_GROUP_ARRAY_LEN 4096. */ 134 * if_vlan.h: VLAN_GROUP_ARRAY_LEN 4096. */
135 if (GET_BITMASK(EBT_VLAN_ID)) { 135 if (GET_BITMASK(EBT_VLAN_ID)) {
136 if (!!info->id) { /* if id!=0 => check vid range */ 136 if (!!info->id) { /* if id!=0 => check vid range */
@@ -141,7 +141,7 @@ ebt_check_vlan(const char *tablename,
141 return -EINVAL; 141 return -EINVAL;
142 } 142 }
143 /* Note: This is valid VLAN-tagged frame point. 143 /* Note: This is valid VLAN-tagged frame point.
144 * Any value of user_priority are acceptable, 144 * Any value of user_priority are acceptable,
145 * but should be ignored according to 802.1Q Std. 145 * but should be ignored according to 802.1Q Std.
146 * So we just drop the prio flag. */ 146 * So we just drop the prio flag. */
147 info->bitmask &= ~EBT_VLAN_PRIO; 147 info->bitmask &= ~EBT_VLAN_PRIO;