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>
This commit is contained in:
parent
fd3ba21478
commit
1125b00871
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user