SUNRPC: Ensure server-side sockets have a sock->file
authorChuck Lever <chuck.lever@oracle.com>
Tue, 7 Mar 2023 14:14:46 +0000 (09:14 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Wed, 26 Apr 2023 13:05:01 +0000 (09:05 -0400)
commitae0d77708aae219a9264a74188d5c1b1a5754da6
tree573da9a2412590a6906d9785434823a7a373f339
parent0f5162480bd25bd97b91c9153db7afbd89698804
SUNRPC: Ensure server-side sockets have a sock->file

The TLS handshake upcall mechanism requires a non-NULL sock->file on
the socket it hands to user space. svc_sock_free() already releases
sock->file properly if one exists.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
net/sunrpc/svcsock.c