diff options
author | Sowmini Varadhan <[email protected]> | 2016-11-04 10:04:11 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-11-09 12:47:49 -0500 |
commit | 1ac507d4ffbff578c388e85f9637dca19ff07b95 (patch) | |
tree | 6eb6081d9893891caf8dd5928a8418368be2c982 /scripts/gcc-plugins/gcc-common.h | |
parent | f5f99309fa7481f59a500f0d08f3379cd6424c1f (diff) |
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 <[email protected]>
Acked-by: Santosh Shilimkar <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions