[ovs-dev] [GIT PULL v2] Open vSwitch
herbert at gondor.apana.org.au
Mon Nov 28 06:51:57 PST 2011
On Mon, Nov 28, 2011 at 01:54:16PM +0000, Fischer, Anna wrote:
> Yes, I mentioned this months ago, and I am surprised this critical issue has never been picked up on and addressed. With a flaw like this there is no chance this component can be used in any serious virtualization deployment where different customers share the same physical server.
> The path up to user-space needs to be designed in a multi-queue fashion, so that each vPort has its own queue up to user-space. Ideally those queues also need to be rate controlled in some form, so that no DoS is possible.
Actually, rereading the patch it would appear that the interface
does allow the use of multiple sockets at the user-space end.
Whether the user-space daemon actually does so is another matter
of course :)
There are other issues with the hash implementation. For example,
there seems to be no limit on the number of collisions in each
bucket. As the hash table growth code simply continues when it
fails to expand, this means that the number of collisions may
rise without bound.
At least this is each to fix, by using any one of our other
similar hash table implementations as an example.
Email: Herbert Xu <herbert at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
More information about the dev