From: Chuck Lever Date: Thu, 19 Mar 2009 00:45:51 +0000 (-0400) Subject: NFSD: If port value written to /proc/fs/nfsd/portlist is invalid, return EINVAL X-Git-Tag: v2.6.30-rc1~415^2^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adbbe929569e6eec8ff9feca23f1f2b40b42853d;p=pandora-kernel.git NFSD: If port value written to /proc/fs/nfsd/portlist is invalid, return 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 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed