Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
These changes are a raw update to a vanilla kernel 4.1.10, with the
[kvmfornfv.git]
/
kernel
/
net
/
tipc
/
socket.c
diff --git
a/kernel/net/tipc/socket.c
b/kernel/net/tipc/socket.c
index
f485600
..
20cc6df
100644
(file)
--- a/
kernel/net/tipc/socket.c
+++ b/
kernel/net/tipc/socket.c
@@
-2009,6
+2009,7
@@
static int tipc_accept(struct socket *sock, struct socket *new_sock, int flags)
res = tipc_sk_create(sock_net(sock->sk), new_sock, 0, 1);
if (res)
goto exit;
+ security_sk_clone(sock->sk, new_sock->sk);
new_sk = new_sock->sk;
new_tsock = tipc_sk(new_sk);