提交 1125b008 编写于 作者: S Stephen Rothwell 提交者: David S. Miller

tuntap: fix for "tuntap: XDP transmission"

Fixes: fc72d1d5 ("tuntap: XDP transmission")
Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
Acked-by: NJason Wang <jasowang@redhat.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 fd3ba214
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册