On Mon, 2013-05-20 at 16:40 -0400, J. Bruce Fields wrote: > On Mon, May 20, 2013 at 01:17:07PM -0400, Trond Myklebust wrote: > > Use the EXCHGID4_FLAG_BIND_PRINC_STATEID exchange_id flag to enable > > stateid protection. This means that if we create a stateid using a > > particular principal, then we must use the same principal if we > > want to change that state. > > Note that knfsd ignores this--its EXCHANGE_ID will always return with > the flag unset regardless of what the client requests. My understanding > is that that's legal ("Whether a bit is set or cleared on the arguments' > flags does not force the server to set or clear the same bit on the > results' side.") > > (Definitely not opposed to implementing it, just haven't gotten around > to it.) Right, but the point here is that the server is allowed to set EXCHGID4_FLAG_BIND_PRINC_STATEID without the client requesting it, so the client is supposed to always be ready for that situation. This patch series is therefore more about ensuring that the Linux client is spec compliant. -- Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust@xxxxxxxxxx www.netapp.com -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html