Commit b7766da7 authored by Chuck Lever's avatar Chuck Lever Committed by Linus Torvalds
Browse files

[PATCH] SUNRPC: fix a typo

Yes, this actually passed tests the way it was.
Signed-off-by: default avatarChuck Lever <>
Signed-off-by: default avatarTrond Myklebust <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 71bdcf80
......@@ -1366,7 +1366,7 @@ int xs_setup_udp(struct rpc_xprt *xprt, struct rpc_timeout *to)
if (xprt->slot == NULL)
return -ENOMEM;
if (ntohs(addr->sin_port != 0))
if (ntohs(addr->sin_port) != 0)
xprt->port = xs_get_random_port();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment