diff options
author | Eric Dumazet <edumazet@google.com> | 2019-10-01 10:49:06 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-01 13:07:53 -0700 |
commit | be2644aac3e1db02d09f45d56206bbdafca582a2 (patch) | |
tree | 36976d22af2d893c45cfb0e06cf651fcb5cc8028 /net/ipv4/af_inet.c | |
parent | 5be5515a8ea198de6eb204a0ff25faf98b8ff719 (diff) | |
download | linux-be2644aac3e1db02d09f45d56206bbdafca582a2.tar.bz2 |
tcp: add ipv6_addr_v4mapped_loopback() helper
tcp_twsk_unique() has a hard coded assumption about ipv4 loopback
being 127/8
Lets instead use the standard ipv4_is_loopback() method,
in a new ipv6_addr_v4mapped_loopback() helper.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/af_inet.c')
0 files changed, 0 insertions, 0 deletions