aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAnna Schumaker <Anna.Schumaker@Netapp.com>2021-07-20 16:04:42 -0400
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2021-08-09 17:25:36 -0400
commit5d46dd04cb68771f77ba66dbf6fd323a4a2ce00d (patch)
tree400cd39f33fd91463461774418931a815e2817de /tools/perf/scripts/python/export-to-postgresql.py
parentSUNRPC/xprtrdma: Fix reconnection locking (diff)
downloadlinux-dev-5d46dd04cb68771f77ba66dbf6fd323a4a2ce00d.tar.xz
linux-dev-5d46dd04cb68771f77ba66dbf6fd323a4a2ce00d.zip
sunrpc: Fix return value of get_srcport()
Since bc1c56e9bbe9 transport->srcport may by unset, causing get_srcport() to return 0 when called. Fix this by querying the port from the underlying socket instead of the transport. Fixes: bc1c56e9bbe9 (SUNRPC: prevent port reuse on transports which don't request it) Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions