OSDN Git Service

net: Use __u32 in uapi net_stamp.h
authorJesus Sanchez-Palencia <jesus.sanchez-palencia@intel.com>
Mon, 9 Jul 2018 23:20:56 +0000 (16:20 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Jul 2018 23:31:28 +0000 (16:31 -0700)
commit52b509218f0ab5946f9cbaf5501d88f69333f0e3
tree229ee38e789f738f562337910907812e871cae1a
parent1497d2fd1bbb04beb795cc4c4f76fef7eb4c6061
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: 80b14dee2bea ("net: Add a new socket option for a future transmit time")
Reported-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jesus Sanchez-Palencia <jesus.sanchez-palencia@intel.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/net_tstamp.h