Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1125b008 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by David S. Miller
Browse files

tuntap: fix for "tuntap: XDP transmission"



Fixes: fc72d1d5 ("tuntap: XDP transmission")
Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Acked-by: default avatarJason Wang <jasowang@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fd3ba214
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
}