diff options
author | Pavel Emelyanov <xemul@parallels.com> | 2010-10-05 15:53:08 +0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2010-10-19 10:48:15 -0400 |
commit | beb59b68280d9779cc16591115547678d1c74a66 (patch) | |
tree | 12e6bd18bba78f67793d6a99522705f2e9e72d77 /net/wireless | |
parent | 573018c07e040b2c3f3cb8251f66fa4a5cb7425d (diff) |
sunrpc: Merge the xs_bind code
There's the only difference betseen the xs_bind4 and the
xs_bind6 - the size of sockaddr structure they use.
Fortunatelly its size can be indirectly get from the transport.
Change since v1:
* use sockaddr_storage instead of sockaddr
* use rpc_set_port instead of manual port assigning
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
[bfields@redhat.com: fix address family initialization]
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions