]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4.x: Enforce the ca_maxresponsesize_cached on the back channel
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 23 Jan 2016 20:21:08 +0000 (15:21 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 24 Jan 2016 22:12:48 +0000 (17:12 -0500)
commit5f6069e3d64631509287c96d8f1cacf4174a3aa3
tree306a826cf8894314b682a29c5b70673add769a38
parent89ba589360c3a76ed45a10b831ce76890590b71e
NFSv4.x: Enforce the ca_maxresponsesize_cached on the back channel

We have no duplicate reply cache, so we always set the back channel
ca_maxresponsesize_cached to zero when negotiating the session.
That means we should always error out as soon as we see the server
set args->csa_cachethis.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/callback_proc.c