summaryrefslogtreecommitdiff
path: root/net/rxrpc/af_rxrpc.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2016-03-04 15:54:27 +0000
committerDavid Howells <dhowells@redhat.com>2016-03-04 15:54:27 +0000
commite33b3d97bc443aa330f086ca90a209a0d35dfa86 (patch)
tree0aa94dc615cf12a497be8581cca93ca356d2a768 /net/rxrpc/af_rxrpc.c
parent0d12f8a4027d021c9cc942f09f38d28288020c5d (diff)
downloadlwn-e33b3d97bc443aa330f086ca90a209a0d35dfa86.tar.gz
lwn-e33b3d97bc443aa330f086ca90a209a0d35dfa86.zip
rxrpc: The protocol family should be set to PF_RXRPC not PF_UNIX
Fix the protocol family set in the proto_ops for rxrpc to be PF_RXRPC not PF_UNIX. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'net/rxrpc/af_rxrpc.c')
-rw-r--r--net/rxrpc/af_rxrpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rxrpc/af_rxrpc.c b/net/rxrpc/af_rxrpc.c
index 7bb5cca0ae32..5e810b83269f 100644
--- a/net/rxrpc/af_rxrpc.c
+++ b/net/rxrpc/af_rxrpc.c
@@ -748,7 +748,7 @@ static int rxrpc_release(struct socket *sock)
* RxRPC network protocol
*/
static const struct proto_ops rxrpc_rpc_ops = {
- .family = PF_UNIX,
+ .family = PF_RXRPC,
.owner = THIS_MODULE,
.release = rxrpc_release,
.bind = rxrpc_bind,