OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd3ba21
)
tuntap: fix for "tuntap: XDP transmission"
author
Stephen Rothwell
<sfr@canb.auug.org.au>
Wed, 10 Jan 2018 04:06:14 +0000
(15:06 +1100)
committer
David S. Miller
<davem@davemloft.net>
Wed, 10 Jan 2018 20:52:49 +0000
(15:52 -0500)
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>
include/linux/if_tun.h
patch
|
blob
|
history
diff --git
a/include/linux/if_tun.h
b/include/linux/if_tun.h
index
08e6682
..
c5b0a75
100644
(file)
--- a/
include/linux/if_tun.h
+++ b/
include/linux/if_tun.h
@@
-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;
}