]> err.no Git - linux-2.6/commit
lockd: Ensure NSM strings aren't longer than protocol allows
authorChuck Lever <chuck.lever@oracle.com>
Fri, 14 Mar 2008 18:25:32 +0000 (14:25 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 19 Mar 2008 22:00:54 +0000 (18:00 -0400)
commit099bd05f27ff24a3041d54e7ed42d2eb681484b9
treebeb5738bdce698874255eb890f84a770a83d34e5
parentf34ec991ae0f015f5cdc51ad46c3a317ffae2466
lockd: Ensure NSM strings aren't longer than protocol allows

Introduce a special helper function to check the length of NSM strings
before they are placed on the wire.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/lockd/mon.c