summaryrefslogtreecommitdiff
path: root/net/sunrpc/clnt.c
diff options
context:
space:
mode:
authorOlga Kornievskaia <kolga@netapp.com>2022-08-18 22:07:05 +0300
committerTrond Myklebust <trond.myklebust@hammerspace.com>2022-08-20 03:31:57 +0300
commitfcfc8be1e9cf2f12b50dce8b579b3ae54443a014 (patch)
tree4d6727dc998df8275be0cfe340bafa8c6b40731c /net/sunrpc/clnt.c
parentf16857e62bac60786104c020ad7c86e2163b2c5b (diff)
downloadlinux-fcfc8be1e9cf2f12b50dce8b579b3ae54443a014.tar.xz
NFSv4.2 fix problems with __nfs42_ssc_open
A destination server while doing a COPY shouldn't accept using the passed in filehandle if its not a regular filehandle. If alloc_file_pseudo() has failed, we need to decrement a reference on the newly created inode, otherwise it leaks. Reported-by: Al Viro <viro@zeniv.linux.org.uk> Fixes: ec4b092508982 ("NFS: inter ssc open") Signed-off-by: Olga Kornievskaia <kolga@netapp.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'net/sunrpc/clnt.c')
0 files changed, 0 insertions, 0 deletions