]> git.karo-electronics.de Git - linux-beck.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)
commit80f9642724af5dfab7d330481fa22e07fde084da
tree306a826cf8894314b682a29c5b70673add769a38
parentf74a834a0e1b35e39e917a1a88a62817610ee20b
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