From: David S. Miller <davem@davemloft.net>
Date: Fri, 12 May 2023 08:24:08 +0000 (+0100)
Subject: Merge branch 'net-handshake-fixes'
X-Git-Tag: v6.5-rc1~163^2~292
X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=deb2e484baf9;p=users%2Fdwmw2%2Flinux.git

Merge branch 'net-handshake-fixes'

Chuck Lever says:

====================
Bug fixes for net/handshake

Please consider these for merge via net-next.

Paolo observed that there is a possible leak of sock->file. I
haven't looked into that yet, but it seems to be separate from
the fixes in this series, so no need to hold these up.

Changes since v2:
- Address Paolo comment regarding handshake_dup()

Changes since v1:
- Rework "Fix handshake_dup() ref counting"
- Unpin sock->file when a handshake is cancelled
====================

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

deb2e484baf90ed776626894ea7ee5db7fbe839b