[PATCH v2] remove automatic port id generation

Nicolas Dichtel nicolas.dichtel at 6wind.com
Thu Jun 18 05:22:54 PDT 2015


Le 17/06/2015 16:19, Dan Williams a écrit :
> On Wed, 2015-06-17 at 15:49 +0200, Julien Courtat wrote:
>> Since kernel can automatically set a unique portid to each socket any
>> application would bind with, there is no use to keep the portid generation
>> procedure made of 22 bits for the pid and 10 bits left for a pseudo
>> random value.
>
> I haven't looked, but how far back does that kernel functionality go?
> Has it always been there?  The port code has been there since the
> initial 2007 import to git, so I just feel like there must have been
> some reason Thomas Graf wrote it...
Thomas, do you some information about this?


Regards,
Nicolas



More information about the libnl mailing list