Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 52b50921 authored by Jesus Sanchez-Palencia's avatar Jesus Sanchez-Palencia Committed by David S. Miller
Browse files

net: Use __u32 in uapi net_stamp.h



We are not supposed to use u32 in uapi, so change the flags member of
struct sock_txtime from u32 to __u32 instead.

Fixes: 80b14dee ("net: Add a new socket option for a future transmit time")
Reported-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarJesus Sanchez-Palencia <jesus.sanchez-palencia@intel.com>
Reviewed-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1497d2fd
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -156,7 +156,7 @@ enum txtime_flags {

struct sock_txtime {
	clockid_t	clockid;	/* reference clockid */
	u32             flags;          /* flags defined by enum txtime_flags */
	__u32		flags;		/* as defined by enum txtime_flags */
};

#endif /* _NET_TIMESTAMPING_H */