diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2022-11-17 16:59:04 +1100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-11-25 01:35:53 +0100 |
commit | 023213facd95d19117308b09db6308684e8c5bbf (patch) | |
tree | a4ca5017de90a41b116de33f2ed09455acf8bde0 /util.c | |
parent | bb6bb5649d382ccb4cce82eb2fbc97c2708f9c0f (diff) | |
download | passt-023213facd95d19117308b09db6308684e8c5bbf.tar passt-023213facd95d19117308b09db6308684e8c5bbf.tar.gz passt-023213facd95d19117308b09db6308684e8c5bbf.tar.bz2 passt-023213facd95d19117308b09db6308684e8c5bbf.tar.lz passt-023213facd95d19117308b09db6308684e8c5bbf.tar.xz passt-023213facd95d19117308b09db6308684e8c5bbf.tar.zst passt-023213facd95d19117308b09db6308684e8c5bbf.zip |
tcp_splice: Allow splicing of connections from IPv4-mapped loopback
For non-spliced connections we now treat IPv4-mapped IPv6 addresses the
same as the corresponding IPv4 addresses. However currently we won't
splice a connection from ::ffff:127.0.0.1 the way we would one from
127.0.0.1. Correct this so that we can splice connections from IPv4
localhost that have been received on an IPv6 dual stack socket.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'util.c')
0 files changed, 0 insertions, 0 deletions