diff options
| author | Sowmini Varadhan <sowmini.varadhan@oracle.com> | 2016-11-04 20:04:11 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-11-09 20:47:49 +0300 |
| commit | 1ac507d4ffbff578c388e85f9637dca19ff07b95 (patch) | |
| tree | 6eb6081d9893891caf8dd5928a8418368be2c982 /include/linux | |
| parent | f5f99309fa7481f59a500f0d08f3379cd6424c1f (diff) | |
| download | linux-1ac507d4ffbff578c388e85f9637dca19ff07b95.tar.xz | |
RDS: TCP: report addr/port info based on TCP socket in rds-info
The socket argument passed to rds_tcp_tc_info() is a PF_RDS socket,
so it is incorrect to report the address port info based on
rds_getname() as part of TCP state report.
Invoke inet_getname() for the t_sock associated with the
rds_tcp_connection instead.
Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
