commit | be2644aac3e1db02d09f45d56206bbdafca582a2 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Tue Oct 01 10:49:06 2019 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Oct 01 13:07:53 2019 -0700 |
tree | 36976d22af2d893c45cfb0e06cf651fcb5cc8028 | |
parent | 5be5515a8ea198de6eb204a0ff25faf98b8ff719 [diff] |
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>