rxrpc: The protocol family should be set to PF_RXRPC not PF_UNIX
authorDavid Howells <dhowells@redhat.com>
Fri, 4 Mar 2016 15:54:27 +0000 (15:54 +0000)
committerDavid Howells <dhowells@redhat.com>
Fri, 4 Mar 2016 15:54:27 +0000 (15:54 +0000)
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>
net/rxrpc/af_rxrpc.c

index 7bb5cca0ae32f477449b9034405ec26adc55bebf..5e810b83269f0b22090b6bfa9c0c33ea03ce68a6 100644 (file)
@@ -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,