[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190213050551.x3jffq3ipghw6g2m@gondor.apana.org.au>
Date: Wed, 13 Feb 2019 13:05:51 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: David Miller <davem@...emloft.net>, johannes@...solutions.net,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org, j@...fi,
tgraf@...g.ch, johannes.berg@...el.com
Subject: [PATCH 0/2] mac80211: Fix incorrect usage of rhashtable walk API
Hi:
This patch fixes a number of issues with the use of the rhashtable API
in mac80211. First of all it converts the use of rashtable walks over
to a simple linked list. This is because an rhashtable walk is
inherently unstable and not meant for uses that require stability,
e.g., when you're trying to lookup an object to delete.
It also fixes a potential memory leak when the rhashtable insertion
fails (which can occur due to OOM).
Thanks,
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists