Re: [PATCH 2/4] mac80211: Free mpath object when rhashtable insertion fails

From
Herbert Xu <herbert@gondor.apana.org.au>
Date
2019-02-14 14:04:59
Also in
linux-wireless
Reply to
Johannes Berg, 2019-02-13
On Wed, Feb 13, 2019 at 04:04:29PM +0100, Johannes Berg wrote:
Yes, that's a small change in behaviour as to when the generation
counter is updated, but I'm pretty sure it really only needs updating
when we inserted something, not if we found an old mpath.
I decided not to do this in my patch as it's not directly related
to the kfree issue.

But I agree that this makes more sense and we should make that
change in another patch.

Thanks!
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Thread (23 messages) 23 messages, 3 authors, last reply 2019-02-18
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help