diff options
author | Sainath Grandhi <sainath.grandhi@intel.com> | 2017-02-10 16:03:47 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-11 20:59:41 -0500 |
commit | 635b8c8ecdd27142d7fdab0df334b2e9201481cf (patch) | |
tree | 6a94c202a36233ed91b947d8b9296b7cb4214fab /drivers/vhost | |
parent | a8e04698732736f59fefe72c675791a006b76e1d (diff) | |
download | blackbird-op-linux-635b8c8ecdd27142d7fdab0df334b2e9201481cf.tar.gz blackbird-op-linux-635b8c8ecdd27142d7fdab0df334b2e9201481cf.zip |
tap: Renaming tap related APIs, data structures, macros
Renaming tap related APIs, data structures and macros in tap.c from macvtap_.* to tap_.*
Signed-off-by: Sainath Grandhi <sainath.grandhi@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/vhost')
-rw-r--r-- | drivers/vhost/net.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index c42e9c305134..2fe35354f20e 100644 --- a/drivers/vhost/net.c +++ b/drivers/vhost/net.c @@ -24,6 +24,7 @@ #include <linux/if_arp.h> #include <linux/if_tun.h> #include <linux/if_macvlan.h> +#include <linux/if_tap.h> #include <linux/if_vlan.h> #include <net/sock.h> @@ -960,7 +961,7 @@ static struct socket *get_tap_socket(int fd) sock = tun_get_socket(file); if (!IS_ERR(sock)) return sock; - sock = macvtap_get_socket(file); + sock = tap_get_socket(file); if (IS_ERR(sock)) fput(file); return sock; |