aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/socket.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-12-24 21:08:26 +0100
committerIngo Molnar <mingo@elte.hu>2008-12-24 21:08:26 +0100
commitdb8862eafe8a5d030a3b02e81b8bb47447c315e3 (patch)
tree073ea7b46809bf804134cbf008a593413c02a99c /net/socket.c
parentx86, bts: memory accounting (diff)
parentMerge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 (diff)
downloadwireguard-linux-db8862eafe8a5d030a3b02e81b8bb47447c315e3.tar.xz
wireguard-linux-db8862eafe8a5d030a3b02e81b8bb47447c315e3.zip
Merge branch 'linus' into tracing/hw-branch-tracing
Diffstat (limited to 'net/socket.c')
-rw-r--r--net/socket.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/socket.c b/net/socket.c
index 92764d836891..76ba80aeac1a 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -2307,6 +2307,7 @@ int kernel_accept(struct socket *sock, struct socket **newsock, int flags)
}
(*newsock)->ops = sock->ops;
+ __module_get((*newsock)->ops->owner);
done:
return err;