projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: pass kern to net_proto_family create function
[firefly-linux-kernel-4.4.55.git]
/
net
/
rxrpc
/
af_rxrpc.c
diff --git
a/net/rxrpc/af_rxrpc.c
b/net/rxrpc/af_rxrpc.c
index 6817c9781ef35b0385268a3fc50bf213a5a24db7..f978d02a248adad9cb94bba9d1b026c9102a7957 100644
(file)
--- a/
net/rxrpc/af_rxrpc.c
+++ b/
net/rxrpc/af_rxrpc.c
@@
-608,7
+608,8
@@
static unsigned int rxrpc_poll(struct file *file, struct socket *sock,
/*
* create an RxRPC socket
*/
-static int rxrpc_create(struct net *net, struct socket *sock, int protocol)
+static int rxrpc_create(struct net *net, struct socket *sock, int protocol,
+ int kern)
{
struct rxrpc_sock *rx;
struct sock *sk;