diff --git a/net/can/isotp.c b/net/can/isotp.c index f9f1062..97a7102 100644 --- a/net/can/isotp.c +++ b/net/can/isotp.c @@ -1175,6 +1175,8 @@ static int isotp_getname(struct socket *sock, struct sockaddr *uaddr, addr->can_family = AF_CAN; addr->can_ifindex = so->ifindex; + addr->can_addr.tp.rx_id = so->rxid; + addr->can_addr.tp.tx_id = so->txid; *len = sizeof(*addr);