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
batman-adv: Correct rcu refcounting for softif_neigh
[firefly-linux-kernel-4.4.55.git]
/
net
/
batman-adv
/
types.h
diff --git
a/net/batman-adv/types.h
b/net/batman-adv/types.h
index cfbeb45cd9b349ffd31d34fb85c93cc81aac69e5..96f7c224975b427f160befb2072c958b8ae47dab 100644
(file)
--- a/
net/batman-adv/types.h
+++ b/
net/batman-adv/types.h
@@
-268,7
+268,7
@@
struct softif_neigh {
uint8_t addr[ETH_ALEN];
unsigned long last_seen;
short vid;
-
struct kref
refcount;
+
atomic_t
refcount;
struct rcu_head rcu;
};