diff options
author | Björn Töpel <bjorn.topel@intel.com> | 2018-05-22 09:34:57 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-05-22 10:25:06 +0200 |
commit | ad75646c68a6e344a3609f40825855a0e742d04d (patch) | |
tree | 8871567446369998af9e899a5a1b55c5d5d5d899 /include | |
parent | xsk: remove rebind support (diff) | |
download | linux-ad75646c68a6e344a3609f40825855a0e742d04d.tar.xz linux-ad75646c68a6e344a3609f40825855a0e742d04d.zip |
xsk: fill hole in struct sockaddr_xdp
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/if_xdp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/if_xdp.h b/include/uapi/linux/if_xdp.h index 56db977221d2..c46609a00168 100644 --- 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 */ |