Merge branch 'net-handshake-fixes'
authorDavid S. Miller <davem@davemloft.net>
Fri, 12 May 2023 08:24:08 +0000 (09:24 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 May 2023 08:24:08 +0000 (09:24 +0100)
commitdeb2e484baf90ed776626894ea7ee5db7fbe839b
tree9f49873465fa9b923a180c4ac38d78a581b5ba05
parent0fae8847563b0c990f8cffcb8d3668fbcaca4919
parenteefca7ec514262aef08d0ef261552f2f604bd851
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>