summaryrefslogtreecommitdiffstats
path: root/include/linux/if_tun.h
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2018-01-10 15:06:14 +1100
committerDavid S. Miller <davem@davemloft.net>2018-01-10 15:52:49 -0500
commit1125b008711581a8962ee028e2982d7757093600 (patch)
treee40c4e3964f63aa772a9272a20c25443089fe32c /include/linux/if_tun.h
parentfd3ba21478d0ca40da2b71850a2cc447516bb7d8 (diff)
downloadtalos-op-linux-1125b008711581a8962ee028e2982d7757093600.tar.gz
talos-op-linux-1125b008711581a8962ee028e2982d7757093600.zip
tuntap: fix for "tuntap: XDP transmission"
Fixes: fc72d1d54dd9 ("tuntap: XDP transmission") Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Acked-by: Jason Wang <jasowang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/if_tun.h')
-rw-r--r--include/linux/if_tun.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/if_tun.h b/include/linux/if_tun.h
index 08e66827ad8e..c5b0a75a7812 100644
--- a/include/linux/if_tun.h
+++ b/include/linux/if_tun.h
@@ -42,11 +42,11 @@ static inline bool tun_is_xdp_buff(void *ptr)
{
return false;
}
-void *tun_xdp_to_ptr(void *ptr)
+static inline void *tun_xdp_to_ptr(void *ptr)
{
return NULL;
}
-void *tun_ptr_to_xdp(void *ptr)
+static inline void *tun_ptr_to_xdp(void *ptr)
{
return NULL;
}
OpenPOWER on IntegriCloud