Re: [net-next PATCH v4 3/3] net: reserve ports for applicationsusing fixed port numbers
From: Eric Dumazet
Date: Wed Feb 17 2010 - 11:39:43 EST
Le jeudi 18 fÃvrier 2010 Ã 00:13 +0800, Cong Wang a Ãcrit :
> I don't think so, if you want to avoid race condition, you just need to
> write the reserved ports before any networking application starts, IOW,
> as early as possible during boot.
>
Sure, but I was thinking retrieving the list of reserved port by a
database query, using network :)
Anyway, I just feel your argument is not applicable.
Our kernel is capable of doing an intersection for us, we dont need
to forbid user to mark a port as 'reserved' if this port is already
blacklisted by another mechanism (for example, if this port is already
in use)
--
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/