sunrpc: Factor out udp sockets creation
authorPavel Emelyanov <xemul@parallels.com>
Mon, 4 Oct 2010 12:53:46 +0000 (16:53 +0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 19 Oct 2010 14:48:14 +0000 (10:48 -0400)
commitb65c0310611af73569f94c526a1e2323d99b380a
tree6bae1f1aa2681d1359a89412420f95009c40b1b9
parent58dddac9c55c604f01152832c1c3d2c17a5adea9
sunrpc: Factor out udp sockets creation

Make it look like the TCP sockets creation.
Unfortunately the git diff made the patch look messy :(

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/xprtsock.c