Merge branch 'tcp-bhash2-fixes'
authorDavid S. Miller <davem@davemloft.net>
Fri, 30 Dec 2022 07:25:53 +0000 (07:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Dec 2022 07:25:53 +0000 (07:25 +0000)
commit0798311cfd8739bbfba0b454dc828fe35dfa4d72
treec7676d2fa5308b2c1c8968fa3044ebb53af5f85c
parent40cab44b9089a41f71bbd0eff753eb91d5dafd68
parent2c042e8e54efb2b8e25ed0cb28224e79948dc8ce
Merge branch 'tcp-bhash2-fixes'

Kuniyuki Iwashima says:

===================
tcp: Fix bhash2 and TIME_WAIT regression.

We forgot to add twsk to bhash2.  Therefore TIME_WAIT sockets cannot
prevent bind() to the same local address and port.

Changes:
  v1:
    * Patch 1:
      * Add tw_bind2_node in inet_timewait_sock instead of
        moving sk_bind2_node from struct sock to struct
sock_common.
====================

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