]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
nfsd: Fix a memory scribble in the callback channel
authorTrond Myklebust <trondmy@primarydata.com>
Sun, 16 Jul 2017 22:57:27 +0000 (22:57 +0000)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 17 Jul 2017 17:15:06 +0000 (13:15 -0400)
commiteff793687792d3eed594d147aceef2000fb9ca3d
treee750a4e8ac871be61017c7e297924e2618893218
parent5771a8c08880cdca3bfb4a3fc6d309d6bba20877
nfsd: Fix a memory scribble in the callback channel

The offset of the entry in struct rpc_version has to match the version
number.

Reported-by: Dave Jones <davej@codemonkey.org.uk>
Fixes: 1c5876ddbdb4 ("sunrpc: move p_count out of struct rpc_procinfo")
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Reported-by: Dave Jones <davej@codemonkey.org.uk>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4callback.c