diff options
Diffstat (limited to 'net/socket.c')
-rw-r--r-- | net/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket.c b/net/socket.c index ec077037f534..7d44453dfae1 100644 --- a/net/socket.c +++ b/net/socket.c | |||
@@ -1168,7 +1168,7 @@ static int __sock_create(int family, int type, int protocol, | |||
1168 | module_put(pf->owner); | 1168 | module_put(pf->owner); |
1169 | err = security_socket_post_create(sock, family, type, protocol, kern); | 1169 | err = security_socket_post_create(sock, family, type, protocol, kern); |
1170 | if (err) | 1170 | if (err) |
1171 | goto out_release; | 1171 | goto out_sock_release; |
1172 | *res = sock; | 1172 | *res = sock; |
1173 | 1173 | ||
1174 | return 0; | 1174 | return 0; |