summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPetr Malat <oss@malat.biz>2022-04-09 08:36:11 +0200
committerJakub Kicinski <kuba@kernel.org>2022-04-11 20:33:10 -0700
commit8467dda0c26583547731e7f3ea73fc3856bae3bf (patch)
treed358dd9a2a89aaec91f195858684fad7f709f695 /tools/perf/scripts/python/export-to-postgresql.py
parent65745da171e685b47725bfee138580ad8bf09d8f (diff)
sctp: Initialize daddr on peeled off socket
Function sctp_do_peeloff() wrongly initializes daddr of the original socket instead of the peeled off socket, which makes getpeername() return zeroes instead of the primary address. Initialize the new socket instead. Fixes: d570ee490fb1 ("[SCTP]: Correctly set daddr for IPv6 sockets during peeloff") Signed-off-by: Petr Malat <oss@malat.biz> Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Link: https://lore.kernel.org/r/20220409063611.673193-1-oss@malat.biz Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions