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)
commitab6c4ec8742a653b1ba06215d9bccb31c4d87d0f
tree5451d725ed8ae06ca21ae072650a90f29cd503b6
parent8cdd9f1aaedf823006449faa4e540026c692ac43
parent8637d8e8b653f4c8b6fd277b434b118f844d1d77
Merge branch 'tcp-bind-fixes'

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>