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>
This commit is contained in:

committed by
Daniel Borkmann

parent
959b71db53
commit
ad75646c68
@@ -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 */
|
||||||
|
Reference in New Issue
Block a user