|
@@ -143,7 +143,8 @@ int rxrpc_recvmsg(struct kiocb *iocb, struct socket *sock,
|
|
/* copy the peer address and timestamp */
|
|
/* copy the peer address and timestamp */
|
|
if (!continue_call) {
|
|
if (!continue_call) {
|
|
if (msg->msg_name && msg->msg_namelen > 0)
|
|
if (msg->msg_name && msg->msg_namelen > 0)
|
|
- memcpy(&msg->msg_name, &call->conn->trans->peer->srx,
|
|
|
|
|
|
+ memcpy(msg->msg_name,
|
|
|
|
+ &call->conn->trans->peer->srx,
|
|
sizeof(call->conn->trans->peer->srx));
|
|
sizeof(call->conn->trans->peer->srx));
|
|
sock_recv_timestamp(msg, &rx->sk, skb);
|
|
sock_recv_timestamp(msg, &rx->sk, skb);
|
|
}
|
|
}
|