]> 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)
commit8ae548c996e3128d944f292ad46c76ae48479f85
treee750a4e8ac871be61017c7e297924e2618893218
parent9238ecfbaaeffcf7977c2776af9c57c0a4a878ed
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: 214cfa1656de ("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