diff options
author | stephen hemminger <stephen@networkplumber.org> | 2017-07-24 19:57:29 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-25 02:39:20 +0200 |
commit | 27f5aa92ccafbe1bbc695307e3dee41a0e924c28 (patch) | |
tree | 6130d9b1e1b64907b29e6b656dbe4a8c4e1a5263 /drivers/net/hyperv | |
parent | netvsc: fix netvsc_set_channels (diff) | |
download | linux-27f5aa92ccafbe1bbc695307e3dee41a0e924c28.tar.xz linux-27f5aa92ccafbe1bbc695307e3dee41a0e924c28.zip |
netvsc: include rtnetlink.h
Since these files use rtnl_derefernce make sure and include rtnetlink.h
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hyperv')
-rw-r--r-- | drivers/net/hyperv/netvsc_drv.c | 2 | ||||
-rw-r--r-- | drivers/net/hyperv/rndis_filter.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/hyperv/netvsc_drv.c b/drivers/net/hyperv/netvsc_drv.c index e212cbeb6333..a94fd545a650 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 e439886f72c1..eaa3f0d5682a 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" |