Loading net/core/sock.c +4 −1 Original line number Diff line number Diff line Loading @@ -641,7 +641,10 @@ struct sock *sk_alloc(int family, int priority, struct proto *prot, int zero_it) } if (security_sk_alloc(sk, family, priority)) { if (slab != NULL) kmem_cache_free(slab, sk); else kfree(sk); sk = NULL; } else __module_get(prot->owner); Loading Loading
net/core/sock.c +4 −1 Original line number Diff line number Diff line Loading @@ -641,7 +641,10 @@ struct sock *sk_alloc(int family, int priority, struct proto *prot, int zero_it) } if (security_sk_alloc(sk, family, priority)) { if (slab != NULL) kmem_cache_free(slab, sk); else kfree(sk); sk = NULL; } else __module_get(prot->owner); Loading