aboutsummaryrefslogtreecommitdiffstats
path: root/net/rxrpc/conn_object.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2016-09-13 08:49:05 +0100
committerDavid Howells <dhowells@redhat.com>2016-09-13 23:09:13 +0100
commitcd5892c756f51ed6ff18ff49c837d219bfd9bb5d (patch)
tree927374788e2d27c5e861035aa72e7afcfabc90b8 /net/rxrpc/conn_object.c
parentrxrpc: Correctly initialise, limit and transmit call->rx_winsize (diff)
downloadlinux-dev-cd5892c756f51ed6ff18ff49c837d219bfd9bb5d.tar.xz
linux-dev-cd5892c756f51ed6ff18ff49c837d219bfd9bb5d.zip
rxrpc: Create an address for sendmsg() to bind unbound socket with
Create an address for sendmsg() to bind unbound socket with rather than using a completely blank address otherwise the transport socket creation will fail because it will try to use address family 0. We use the address family specified in the protocol argument when the AF_RXRPC socket was created and SOCK_DGRAM as the default. For anything else, bind() must be used. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions