Merge branch 'inet6_destroy_sock-calls-remove'
authorDavid S. Miller <davem@davemloft.net>
Mon, 24 Oct 2022 08:40:39 +0000 (09:40 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Oct 2022 08:40:39 +0000 (09:40 +0100)
Kuniyuki Iwashima says:

====================
inet6: Remove inet6_destroy_sock() calls.

This is a follow-up series for commit d38afeec26ed ("tcp/udp: Call
inet6_destroy_sock() in IPv6 sk->sk_destruct().").

This series cleans up unnecessary inet6_destory_sock() calls in
sk->sk_prot->destroy() and call it from sk->sk_destruct() to make
sure we do not leak memory related to IPv6 specific-resources.

Changes:
  v2:
    * patch 1
      * Fix build failure for CONFIG_MPTCP_IPV6=y

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

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

Trivial merge