Commit e33b3d97 authored by David Howells's avatar David Howells

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: default avatarDavid Howells <dhowells@redhat.com>
parent 0d12f8a4
...@@ -748,7 +748,7 @@ static int rxrpc_release(struct socket *sock) ...@@ -748,7 +748,7 @@ static int rxrpc_release(struct socket *sock)
* RxRPC network protocol * RxRPC network protocol
*/ */
static const struct proto_ops rxrpc_rpc_ops = { static const struct proto_ops rxrpc_rpc_ops = {
.family = PF_UNIX, .family = PF_RXRPC,
.owner = THIS_MODULE, .owner = THIS_MODULE,
.release = rxrpc_release, .release = rxrpc_release,
.bind = rxrpc_bind, .bind = rxrpc_bind,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment