提交 ad75646c 编写于 作者: B Björn Töpel 提交者: Daniel Borkmann

xsk: fill hole in struct sockaddr_xdp

Move the sxdp_flags up, avoiding a hole in the uapi structure.
Signed-off-by: NBjörn Töpel <bjorn.topel@intel.com>
Signed-off-by: NDaniel Borkmann <daniel@iogearbox.net>
上级 959b71db
...@@ -17,10 +17,10 @@ ...@@ -17,10 +17,10 @@
struct sockaddr_xdp { struct sockaddr_xdp {
__u16 sxdp_family; __u16 sxdp_family;
__u16 sxdp_flags;
__u32 sxdp_ifindex; __u32 sxdp_ifindex;
__u32 sxdp_queue_id; __u32 sxdp_queue_id;
__u32 sxdp_shared_umem_fd; __u32 sxdp_shared_umem_fd;
__u16 sxdp_flags;
}; };
/* XDP socket options */ /* XDP socket options */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册