Skip to content

Commit

Permalink
tuntap: fix for "tuntap: XDP transmission"
Browse files Browse the repository at this point in the history
Fixes: fc72d1d ("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>
  • Loading branch information
Stephen Rothwell authored and David S. Miller committed Jan 10, 2018
1 parent fd3ba21 commit 1125b00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/linux/if_tun.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 1125b00

Please sign in to comment.