projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d12f8a
)
rxrpc: The protocol family should be set to PF_RXRPC not PF_UNIX
author
David Howells
<dhowells@redhat.com>
Fri, 4 Mar 2016 15:54:27 +0000
(15:54 +0000)
committer
David 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
patch
|
blob
|
history
diff --git
a/net/rxrpc/af_rxrpc.c
b/net/rxrpc/af_rxrpc.c
index
7bb5cca
..
5e810b8
100644
(file)
--- 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,