mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 05:44:11 +00: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:
parent
fd3ba21478
commit
1125b00871
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue