aboutsummaryrefslogtreecommitdiffstats
path: root/net/socket.c
diff options
context:
space:
mode:
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 e9d65ea2687..43021f9463f 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -2306,6 +2306,7 @@ int kernel_accept(struct socket *sock, struct socket **newsock, int flags)
2306 } 2306 }
2307 2307
2308 (*newsock)->ops = sock->ops; 2308 (*newsock)->ops = sock->ops;
2309 __module_get((*newsock)->ops->owner);
2309 2310
2310done: 2311done:
2311 return err; 2312 return err;