diff mbox series

[07/15] patches: make nl80211.c include if_vlan.h

Message ID 20200221095437.e96fb1098bd4.Id24cee4c680b685966d9cb78c08671ac18b75983@changeid (mailing list archive)
State New, archived
Headers show
Series updates & improvements | expand

Commit Message

Johannes Berg Feb. 21, 2020, 8:56 a.m. UTC
From: Johannes Berg <johannes.berg@intel.com>

On upstream it gets it through some include maze, until that's
fixed, just patch it in.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
---
 patches/0093-nl80211-vlan.patch | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 patches/0093-nl80211-vlan.patch

Comments

Hauke Mehrtens Feb. 23, 2020, 10:28 p.m. UTC | #1
On 2/21/20 9:56 AM, Johannes Berg wrote:
> From: Johannes Berg <johannes.berg@intel.com>
> 
> On upstream it gets it through some include maze, until that's
> fixed, just patch it in.

Will you take care to improve this upstream for the next kernel version?

> 
> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
> ---
>  patches/0093-nl80211-vlan.patch | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
>  create mode 100644 patches/0093-nl80211-vlan.patch
> 
> diff --git a/patches/0093-nl80211-vlan.patch b/patches/0093-nl80211-vlan.patch
> new file mode 100644
> index 000000000000..c1f8dac13125
> --- /dev/null
> +++ b/patches/0093-nl80211-vlan.patch
> @@ -0,0 +1,12 @@
> +diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c
> +index ae8e3d9575d3..15c0e3c5c979 100644
> +--- a/net/wireless/nl80211.c
> ++++ b/net/wireless/nl80211.c
> +@@ -20,6 +20,7 @@
> + #include <linux/netlink.h>
> + #include <linux/nospec.h>
> + #include <linux/etherdevice.h>
> ++#include <linux/if_vlan.h>
> + #include <net/net_namespace.h>
> + #include <net/genetlink.h>
> + #include <net/cfg80211.h>
>
diff mbox series

Patch

diff --git a/patches/0093-nl80211-vlan.patch b/patches/0093-nl80211-vlan.patch
new file mode 100644
index 000000000000..c1f8dac13125
--- /dev/null
+++ b/patches/0093-nl80211-vlan.patch
@@ -0,0 +1,12 @@ 
+diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c
+index ae8e3d9575d3..15c0e3c5c979 100644
+--- a/net/wireless/nl80211.c
++++ b/net/wireless/nl80211.c
+@@ -20,6 +20,7 @@
+ #include <linux/netlink.h>
+ #include <linux/nospec.h>
+ #include <linux/etherdevice.h>
++#include <linux/if_vlan.h>
+ #include <net/net_namespace.h>
+ #include <net/genetlink.h>
+ #include <net/cfg80211.h>