From: David Howells Date: Fri, 4 Mar 2016 15:54:27 +0000 (+0000) Subject: rxrpc: The protocol family should be set to PF_RXRPC not PF_UNIX X-Git-Tag: v4.6-rc1~91^2~130^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e33b3d97bc443aa330f086ca90a209a0d35dfa86;p=platform%2Fkernel%2Flinux-exynos.git 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 --- diff --git a/net/rxrpc/af_rxrpc.c b/net/rxrpc/af_rxrpc.c index 7bb5cca..5e810b8 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,