projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Wireless: nl80211, fix lock imbalance
[firefly-linux-kernel-4.4.55.git]
/
net
/
core
/
sock.c
diff --git
a/net/core/sock.c
b/net/core/sock.c
index 06e26b77ad9e78437948592eb1781539b6947703..b0ba569bc97361dec5b2619a46ffbeab50331dc2 100644
(file)
--- a/
net/core/sock.c
+++ b/
net/core/sock.c
@@
-945,6
+945,8
@@
static struct sock *sk_prot_alloc(struct proto *prot, gfp_t priority,
sk = kmalloc(prot->obj_size, priority);
if (sk != NULL) {
+ kmemcheck_annotate_bitfield(sk, flags);
+
if (security_sk_alloc(sk, family, priority))
goto out_free;