Re: [RFC Patch] net: reserve ports for applications using fixedport numbers

From: David Miller
Date: Thu Feb 04 2010 - 12:41:06 EST


From: Octavian Purdila <opurdila@xxxxxxxxxxx>
Date: Thu, 4 Feb 2010 14:44:01 +0200

> My concern is that we can have multiple applications that require a
> fixed port and if those ports are significantly apart we will
> decrease the port range available for connect. And that will hurt
> the rate of which new connections can be opened.

I'm already uneasy about adding the simple check every time
we loop around in the bind port allocator.

Adding an LSM hook to this spot? I absolutely refuse to allow
that, it will completely kill bind performance.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/