aboutsummaryrefslogtreecommitdiffstats
path: root/net/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/socket.c')
-rw-r--r--net/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket.c b/net/socket.c
index 5087f9e40f3a..9cc281cdb9d9 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -719,7 +719,7 @@ void __sock_recv_timestamp(struct msghdr *msg, struct sock *sk,
719 719
720 if (need_software_tstamp) { 720 if (need_software_tstamp) {
721 if (!sock_flag(sk, SOCK_RCVTSTAMPNS)) { 721 if (!sock_flag(sk, SOCK_RCVTSTAMPNS)) {
722 struct timeval tv; 722 struct __kernel_old_timeval tv;
723 skb_get_timestamp(skb, &tv); 723 skb_get_timestamp(skb, &tv);
724 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMP_OLD, 724 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMP_OLD,
725 sizeof(tv), &tv); 725 sizeof(tv), &tv);