Skip to content
Commit 4cea288a authored by Ben Hutchings's avatar Ben Hutchings Committed by Trond Myklebust
Browse files

sunrpc: Propagate errors from xs_bind() through xs_create_sock()



xs_create_sock() is supposed to return a pointer or an ERR_PTR-encoded
error, but it currently returns 0 if xs_bind() fails.

Signed-off-by: default avatarBen Hutchings <bhutchings@solarflare.com>
Cc: stable@kernel.org [v2.6.37]
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 3fa0b4e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment