1
0
Fork 0

tuntap: fix for "tuntap: XDP transmission"

Fixes: fc72d1d54d ("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>
hifive-unleashed-5.1
Stephen Rothwell 2018-01-10 15:06:14 +11:00 committed by David S. Miller
parent fd3ba21478
commit 1125b00871
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}