diff options
Diffstat (limited to 'net/can')
-rw-r--r-- | net/can/bcm.c | 2 | ||||
-rw-r--r-- | net/can/raw.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/can/bcm.c b/net/can/bcm.c index 597da4f8f888..2f47039c79dd 100644 --- a/net/can/bcm.c +++ b/net/can/bcm.c | |||
@@ -1534,7 +1534,7 @@ static int bcm_recvmsg(struct kiocb *iocb, struct socket *sock, | |||
1534 | return err; | 1534 | return err; |
1535 | } | 1535 | } |
1536 | 1536 | ||
1537 | sock_recv_timestamp(msg, sk, skb); | 1537 | sock_recv_ts_and_drops(msg, sk, skb); |
1538 | 1538 | ||
1539 | if (msg->msg_name) { | 1539 | if (msg->msg_name) { |
1540 | msg->msg_namelen = sizeof(struct sockaddr_can); | 1540 | msg->msg_namelen = sizeof(struct sockaddr_can); |
diff --git a/net/can/raw.c b/net/can/raw.c index b5e897922d32..962fc9f1d0c7 100644 --- a/net/can/raw.c +++ b/net/can/raw.c | |||
@@ -702,7 +702,7 @@ static int raw_recvmsg(struct kiocb *iocb, struct socket *sock, | |||
702 | return err; | 702 | return err; |
703 | } | 703 | } |
704 | 704 | ||
705 | sock_recv_timestamp(msg, sk, skb); | 705 | sock_recv_ts_and_drops(msg, sk, skb); |
706 | 706 | ||
707 | if (msg->msg_name) { | 707 | if (msg->msg_name) { |
708 | msg->msg_namelen = sizeof(struct sockaddr_can); | 708 | msg->msg_namelen = sizeof(struct sockaddr_can); |