projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' into for-linus
[firefly-linux-kernel-4.4.55.git]
/
net
/
sunrpc
/
rpcb_clnt.c
diff --git
a/net/sunrpc/rpcb_clnt.c
b/net/sunrpc/rpcb_clnt.c
index 121105355f60e4a90dcb9906e878ea255499358d..dac219a56ae1a7dcf8df9ddff9a128b6caa89dac 100644
(file)
--- a/
net/sunrpc/rpcb_clnt.c
+++ b/
net/sunrpc/rpcb_clnt.c
@@
-783,7
+783,7
@@
static int rpcb_dec_getport(struct rpc_rqst *req, __be32 *p,
port = ntohl(*p);
dprintk("RPC: %5u PMAP_%s result: %lu\n", task->tk_pid,
task->tk_msg.rpc_proc->p_name, port);
- if (unlikely(port > USH
O
RT_MAX))
+ if (unlikely(port > USHRT_MAX))
return -EIO;
rpcb->r_port = port;