SUNRPC: Replace a signed v. unsigned comparison in rpcbind client
Subsystems (3)
PATCH 6/10 SUNRPC: Replace a signed v. unsigned comparison in rpcbind client
Signed-off-by Chuck Lever <[email protected]>
---
net/sunrpc/rpcb_clnt.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
net/sunrpc/rpcb_clnt.c +2 -1
@@ -485,7 +485,8 @@ static int rpcb_decode_getaddr(struct rpc_rqst *req, __be32 *p, unsigned short *portp) {char *addr; -int addr_len, c, i, f, first, val; +u32 addr_len; +int c, i, f, first, val; *portp =0 ; addr_len = (unsigned int )ntohl (*p++);
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs