projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
959b71d
)
xsk: fill hole in struct sockaddr_xdp
author
Björn Töpel
<bjorn.topel@intel.com>
Tue, 22 May 2018 07:34:57 +0000
(09:34 +0200)
committer
Daniel Borkmann
<daniel@iogearbox.net>
Tue, 22 May 2018 08:25:06 +0000
(10:25 +0200)
Move the sxdp_flags up, avoiding a hole in the uapi structure.
Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
include/uapi/linux/if_xdp.h
patch
|
blob
|
history
diff --git
a/include/uapi/linux/if_xdp.h
b/include/uapi/linux/if_xdp.h
index 56db977221d203be96d1a49a8b8048e51b5b6058..c46609a00168c4916d56bdf7df6c71e2bc83c338 100644
(file)
--- a/
include/uapi/linux/if_xdp.h
+++ b/
include/uapi/linux/if_xdp.h
@@
-17,10
+17,10
@@
struct sockaddr_xdp {
__u16 sxdp_family;
+ __u16 sxdp_flags;
__u32 sxdp_ifindex;
__u32 sxdp_queue_id;
__u32 sxdp_shared_umem_fd;
- __u16 sxdp_flags;
};
/* XDP socket options */