Skip to content

Commit

Permalink
Added isotp information to output struct for getsockname syscall
Browse files Browse the repository at this point in the history
  • Loading branch information
pylessard committed Aug 3, 2017
1 parent 9f3caa6 commit 324785b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions net/can/isotp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1159,6 +1159,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);

Expand Down

0 comments on commit 324785b

Please sign in to comment.