Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NFSD: If port value written to /proc/fs/nfsd/portlist is invalid, ret…
…urn EINVAL Make sure port value read from user space by write_ports is valid before passing it to svc_find_xprt(). If it wasn't, the writer would get ENOENT instead of EINVAL. Noticed-by: J. Bruce Fields <bfields@fieldses.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
- Loading branch information