[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190213134304.po7ccz3fnki3cdoh@gondor.apana.org.au>
Date: Wed, 13 Feb 2019 21:43:04 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Julia Lawall <julia.lawall@...6.fr>
Cc: 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, kbuild-all@...org
Subject: Re: [PATCH 2/2] mac80211: Free mpath object when rhashtable
insertion fails (fwd)
On Wed, Feb 13, 2019 at 01:50:20PM +0100, Julia Lawall wrote:
> Perhaps a return is needed after line 436.
I don't think so. The kfree only occurs in the case where the
hash table insertion fails. While we should only return an error
if both the hash table insertion failed and the error is not due
to an existing entry (EEXIST).
Cheers,
--
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