[azure][PATCH v1 6/9] UBUNTU: SAUCE: netvsc: include rtnetlink.h
Marcelo Henrique Cerri
marcelo.cerri at canonical.com
Fri Aug 4 14:54:41 UTC 2017
From: stephen hemminger <stephen at networkplumber.org>
BugLink: http://bugs.launchpad.net/bugs/1708469
Since these files use rtnl_derefernce make sure and include rtnetlink.h
Signed-off-by: Stephen Hemminger <sthemmin at microsoft.com>
Signed-off-by: David S. Miller <davem at davemloft.net>
(cherry picked from net-next commit 27f5aa92ccafbe1bbc695307e3dee41a0e924c28)
Signed-off-by: Marcelo Henrique Cerri <marcelo.cerri at canonical.com>
---
drivers/net/hyperv/netvsc_drv.c | 2 ++
drivers/net/hyperv/rndis_filter.c | 1 +
2 files changed, 3 insertions(+)
diff --git a/drivers/net/hyperv/netvsc_drv.c b/drivers/net/hyperv/netvsc_drv.c
index 0c79a73bf37a..4fb70af3d908 100644
--- a/drivers/net/hyperv/netvsc_drv.c
+++ b/drivers/net/hyperv/netvsc_drv.c
@@ -33,6 +33,8 @@
#include <linux/if_vlan.h>
#include <linux/in.h>
#include <linux/slab.h>
+#include <linux/rtnetlink.h>
+
#include <net/arp.h>
#include <net/route.h>
#include <net/sock.h>
diff --git a/drivers/net/hyperv/rndis_filter.c b/drivers/net/hyperv/rndis_filter.c
index e2ebd43967b2..8fc13bbb435f 100644
--- a/drivers/net/hyperv/rndis_filter.c
+++ b/drivers/net/hyperv/rndis_filter.c
@@ -28,6 +28,7 @@
#include <linux/if_vlan.h>
#include <linux/nls.h>
#include <linux/vmalloc.h>
+#include <linux/rtnetlink.h>
#include "hyperv_net.h"
--
2.7.4
More information about the kernel-team
mailing list