Merge branch 'tcp-bind-fixes'
authorDavid S. Miller <davem@davemloft.net>
Wed, 13 Sep 2023 06:18:05 +0000 (07:18 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Sep 2023 06:18:05 +0000 (07:18 +0100)
Kuniyuki Iwashima says:

====================
tcp: Fix bind() regression for v4-mapped-v6 address

Since bhash2 was introduced, bind() is broken in two cases related
to v4-mapped-v6 address.

This series fixes the regression and adds test to cover the cases.

Changes:
  v2:
    * Added patch 1 to factorise duplicated comparison (Eric Dumazet)

  v1: https://lore.kernel.org/netdev/20230911165106.39384-1-kuniyu@amazon.com/
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge