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 5ff26c44db33..8487bf136e5c 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -668,7 +668,7 @@ void __sock_recv_timestamp(struct msghdr *msg, struct sock *sk,
668 668
669 /* Race occurred between timestamp enabling and packet 669 /* Race occurred between timestamp enabling and packet
670 receiving. Fill in the current time for now. */ 670 receiving. Fill in the current time for now. */
671 if (need_software_tstamp && skb->tstamp.tv64 == 0) 671 if (need_software_tstamp && skb->tstamp == 0)
672 __net_timestamp(skb); 672 __net_timestamp(skb);
673 673
674 if (need_software_tstamp) { 674 if (need_software_tstamp) {