dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/include/linux/lockd
Chuck Lever 48df020aa1 NLM: Fix sign of length of NLM variable length strings
According to The Open Group's NLM specification, NLM callers are variable
length strings.  XDR variable length strings use an unsigned 32 bit length.
And internally, negative string lengths are not meaningful for the Linux
NLM implementation.

Clean up: Make nlm_lock.len and nlm_reboot.len unsigned integers.  This
makes the sign of NLM string lengths consistent with the sign of xdr_netobj
lengths.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Acked-By: NeilBrown <neilb@suse.de>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
2008-02-01 16:42:02 -05:00
..
bind.h NLM: Introduce an arguments structure for nlmclnt_init() 2008-01-30 02:06:07 -05:00
debug.h
lockd.h NLM: Fix sign of length of NLM variable length strings 2008-02-01 16:42:02 -05:00
nlm.h
share.h [PATCH] lockd endianness annotations 2006-10-20 10:26:40 -07:00
sm_inter.h [PATCH] lockd endianness annotations 2006-12-13 09:05:52 -08:00
xdr.h NLM: Fix sign of length of NLM variable length strings 2008-02-01 16:42:02 -05:00
xdr4.h NLM: Fix sparse warnings 2007-05-14 19:33:46 -04:00