]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd4: don't check ip address in setclientid
authorJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 18 Mar 2009 19:06:26 +0000 (15:06 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 18 Mar 2009 21:38:42 +0000 (17:38 -0400)
commitffd0905ca17e735ae0ec178cde8c00de5d0a2e04
treeb57fa768c7cdaaa21257a57e96427411bf015b0b
parent7b7e0c258dda31a263968285c7c8ce61b8379c32
nfsd4: don't check ip address in setclientid

The spec allows clients to change ip address, so we shouldn't be
requiring that setclientid always come from the same address.  For
example, a client could reboot and get a new dhcpd address, but still
present the same clientid to the server.  In that case the server should
revoke the client's previous state and allow it to continue, instead of
(as it currently does) returning a CLID_INUSE error.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/nfs4state.c