mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-12 19:44:51 -04:00
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>
This commit is contained in:
committed by
David S. Miller
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user