From patchwork Fri Feb 21 08:56:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johannes Berg X-Patchwork-Id: 11395841 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6341814BC for ; Fri, 21 Feb 2020 08:56:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4C2C3206DB for ; Fri, 21 Feb 2020 08:56:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730373AbgBUI4e (ORCPT ); Fri, 21 Feb 2020 03:56:34 -0500 Received: from s3.sipsolutions.net ([144.76.43.62]:54718 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730510AbgBUI4e (ORCPT ); Fri, 21 Feb 2020 03:56:34 -0500 Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) (envelope-from ) id 1j546q-00EncU-MU; Fri, 21 Feb 2020 09:56:32 +0100 From: Johannes Berg To: backports@vger.kernel.org Cc: Johannes Berg Subject: [PATCH 06/15] backports: if_vlan: add VLAN_N_VID Date: Fri, 21 Feb 2020 09:56:15 +0100 Message-Id: <20200221095437.58e62099cff6.I8a16fcb2fb6f22dece6b440e0f3c0d6f3ade3417@changeid> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200221085624.6213-1-johannes@sipsolutions.net> References: <20200221085624.6213-1-johannes@sipsolutions.net> MIME-Version: 1.0 Sender: backports-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: backports@vger.kernel.org From: Johannes Berg Signed-off-by: Johannes Berg --- 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_ */