Commit 1125b008 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by David S. Miller

tuntap: fix for "tuntap: XDP transmission"

Fixes: fc72d1d5 ("tuntap: XDP transmission")
Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Acked-by: default avatarJason Wang <jasowang@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fd3ba214
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment