netvsc: include rtnetlink.h
authorstephen hemminger <stephen@networkplumber.org>
Mon, 24 Jul 2017 17:57:29 +0000 (10:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Jul 2017 00:39:20 +0000 (17:39 -0700)
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>
drivers/net/hyperv/netvsc_drv.c
drivers/net/hyperv/rndis_filter.c

index e212cbeb6333f8304283f0761042bb72511e4b5d..a94fd545a650ccfbe9a8c7277d4dc85f392ee988 100644 (file)
@@ -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>
index e439886f72c11613ccd9ea21a9c8db16bd4b3f8b..eaa3f0d5682a32daaad2b50cc354e7d92009c108 100644 (file)
@@ -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"