X-Git-Url: http://git.agner.ch/gitweb/?a=blobdiff_plain;f=net%2Fsunrpc%2Frpcb_clnt.c;h=dac219a56ae1a7dcf8df9ddff9a128b6caa89dac;hb=327723edebbbd621ed35b0d63073685eb225563e;hp=121105355f60e4a90dcb9906e878ea255499358d;hpb=b9e3fc29c08a6dcbe19606cfba19c1fcc0551ed7;p=linux-drm-fsl-dcu.git diff --git a/net/sunrpc/rpcb_clnt.c b/net/sunrpc/rpcb_clnt.c index 121105355f60..dac219a56ae1 100644 --- 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 > USHORT_MAX)) + if (unlikely(port > USHRT_MAX)) return -EIO; rpcb->r_port = port;