linux-wpan.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bluetooth-next 1/2] mac802154: llsec: fix device deletion from list
@ 2015-09-09 19:09 Alexander Aring
  2015-09-09 19:09 ` [PATCH bluetooth-next 2/2] ieee802154: iface: fix header parse buffer overflow Alexander Aring
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Aring @ 2015-09-09 19:09 UTC (permalink / raw)
  To: linux-wpan; +Cc: kernel, Alexander Aring, Phoebe Buckheister

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>
---
 net/mac802154/llsec.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net/mac802154/llsec.c b/net/mac802154/llsec.c
index 985e939..7799d3c 100644
--- 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;
-- 
2.5.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-09-10  7:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-09 19:09 [PATCH bluetooth-next 1/2] mac802154: llsec: fix device deletion from list Alexander Aring
2015-09-09 19:09 ` [PATCH bluetooth-next 2/2] ieee802154: iface: fix header parse buffer overflow Alexander Aring
2015-09-10  7:38   ` Alexander Aring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).