projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
475b9ea
)
mac802154: llsec: fix device deletion from list
author
Alexander Aring
<alex.aring@gmail.com>
Fri, 18 Sep 2015 09:30:40 +0000
(11:30 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Tue, 22 Sep 2015 09:51:19 +0000
(11:51 +0200)
This patch adds a missing list_del when a device description will be
deleted.
Cc: Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/mac802154/llsec.c
patch
|
blob
|
blame
|
history
diff --git
a/net/mac802154/llsec.c
b/net/mac802154/llsec.c
index 985e9394e2afa97c069a9c565859a04c7a2cff51..7799d3c41fe2aa2f9e507579464bcacbcda7d645 100644
(file)
--- a/
net/mac802154/llsec.c
+++ b/
net/mac802154/llsec.c
@@
-401,6
+401,7
@@
int mac802154_llsec_dev_del(struct mac802154_llsec *sec, __le64 device_addr)
hash_del_rcu(&pos->bucket_s);
hash_del_rcu(&pos->bucket_hw);
+ list_del_rcu(&pos->dev.list);
call_rcu(&pos->rcu, llsec_dev_free_rcu);
return 0;