diff options
| author | Matthieu Baerts <[email protected]> | 2021-01-25 10:59:00 -0800 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2021-01-27 16:53:47 -0800 |
| commit | 50a13bc3945c9004cf418d181d55ec54cfe4c8ec (patch) | |
| tree | 304a2ee7651c5641589e04277286ae8a093913db /tools/perf/scripts/python/bin/export-to-postgresql-report | |
| parent | 17ce76c4985f166572c7870b86b41dae7b95cb9e (diff) | |
mptcp: support MPJoin with IPv4 mapped in v6 sk
With an IPv4 mapped in v6 socket, we were trying to call inet6_bind()
with an IPv4 address resulting in a -EINVAL error because the given
addr_len -- size of the address structure -- was too short.
We now make sure to use address structures for the same family as the
MPTCP socket for both the bind() and the connect(). It means we convert
v4 addresses to v4 mapped in v6 or the opposite if needed.
Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/122
Co-developed-by: Geliang Tang <[email protected]>
Signed-off-by: Geliang Tang <[email protected]>
Signed-off-by: Matthieu Baerts <[email protected]>
Signed-off-by: Mat Martineau <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions