]> git.baikalelectronics.ru Git - kernel.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)
commitb676bf4bd5e10bf41ecdbc1308cbbe4b5eb1c239
treee750a4e8ac871be61017c7e297924e2618893218
parentc1e7f93cfc9ccbe5772b8d0eb3da04ab3bcc7881
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: f4f82df43f76 ("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