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>
This commit is contained in:
parent
0d12f8a402
commit
e33b3d97bc
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue