diff options
author | Petr Malat <[email protected]> | 2022-04-09 08:36:11 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-04-11 20:33:10 -0700 |
commit | 8467dda0c26583547731e7f3ea73fc3856bae3bf (patch) | |
tree | d358dd9a2a89aaec91f195858684fad7f709f695 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | 65745da171e685b47725bfee138580ad8bf09d8f (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 <[email protected]>
Acked-by: Marcelo Ricardo Leitner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions