aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/raw.c2
-rw-r--r--net/ipv4/udp.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/raw.c b/net/ipv4/raw.c
index 757c9171e7c2..f18172b07611 100644
--- a/net/ipv4/raw.c
+++ b/net/ipv4/raw.c
@@ -682,7 +682,7 @@ static int raw_recvmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
682 if (err) 682 if (err)
683 goto done; 683 goto done;
684 684
685 sock_recv_timestamp(msg, sk, skb); 685 sock_recv_ts_and_drops(msg, sk, skb);
686 686
687 /* Copy the address. */ 687 /* Copy the address. */
688 if (sin) { 688 if (sin) {
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c
index 194bcdc6d9fc..71e5353b30c8 100644
--- a/net/ipv4/udp.c
+++ b/net/ipv4/udp.c
@@ -955,7 +955,7 @@ try_again:
955 UDP_INC_STATS_USER(sock_net(sk), 955 UDP_INC_STATS_USER(sock_net(sk),
956 UDP_MIB_INDATAGRAMS, is_udplite); 956 UDP_MIB_INDATAGRAMS, is_udplite);
957 957
958 sock_recv_timestamp(msg, sk, skb); 958 sock_recv_ts_and_drops(msg, sk, skb);
959 959
960 /* Copy the address. */ 960 /* Copy the address. */
961 if (sin) { 961 if (sin) {