aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorChuck Lever <[email protected]>2009-03-18 20:45:51 -0400
committerTrond Myklebust <[email protected]>2009-03-28 15:53:42 -0400
commitadbbe929569e6eec8ff9feca23f1f2b40b42853d (patch)
tree2a22bb3d333f1471c1c6629e5947f56dd850611a /include/linux
parentefb3288b423d7e3533a68dccecaa05a56a281a4e (diff)
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 <[email protected]> Signed-off-by: Chuck Lever <[email protected]> Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions