[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z0U9IW12JklBfuBv@gondor.apana.org.au>
Date: Tue, 26 Nov 2024 11:14:41 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Kent Overstreet <kent.overstreet@...ux.dev>
Cc: NeilBrown <neilb@...e.de>, Thomas Graf <tgraf@...g.ch>,
netdev@...r.kernel.org
Subject: Re: rhashtable issue - -EBUSY
On Mon, Nov 25, 2024 at 10:12:44PM -0500, Kent Overstreet wrote:
>
> Does the knob have to be insecure_elasticity? Neal's idea of just
> blocking instead of returning -EBUSY seems perfectly viable to me, most
> uses I'm aware of don't need insertions to be strictly nonblocking.
Well having a knob is not negotiable because we must have this
defence for networking users where hostile actors are a fact of
life.
And no you cannot block in networking.
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