Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1350440

[PATCH 05/13] rxrpc: The protocol family should be set to PF_RXRPC not PF_UNIX

From David Howells <dhowells@redhat.com>
Newsgroups linux.kernel
Subject [PATCH 05/13] rxrpc: The protocol family should be set to PF_RXRPC not PF_UNIX
Date 2016-03-04 17:40 +0100
Message-ID <r90VI-14h-27@gated-at.bofh.it> (permalink)
References <r90VH-14h-7@gated-at.bofh.it>
Organization Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903

Show all headers | View raw


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 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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,

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 05/13] rxrpc: The protocol family should be set to PF_RXRPC  not PF_UNIX David Howells <dhowells@redhat.com> - 2016-03-04 17:40 +0100

csiph-web