[PATCH 06/15] backports: if_vlan: add VLAN_N_VID
Johannes Berg <[email protected]>
| Newsgroups | org.kernel.vger.backports |
|---|---|
| Message-ID | <20200221095437.58e62099cff6.I8a16fcb2fb6f22dece6b440e0f3c0d6f3ade3417@changeid> |
From: Johannes Berg <[email protected]> Signed-off-by: Johannes Berg <[email protected]> --- backport/backport-include/linux/if_vlan.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backport/backport-include/linux/if_vlan.h b/backport/backport-include/linux/if_vlan.h index 18f63e80d214..571a8b7e0521 100644 --- a/backport/backport-include/linux/if_vlan.h +++ b/backport/backport-include/linux/if_vlan.h @@ -36,4 +36,8 @@ #define skb_vlan_tag_get_id(__skb) ((__skb)->vlan_tci & VLAN_VID_MASK) #endif +#ifndef VLAN_N_VID +#define VLAN_N_VID 4096 +#endif + #endif /* __BACKPORT_LINUX_IF_VLAN_H_ */ -- 2.24.1 -- To unsubscribe from this list: send the line "unsubscribe backports" in