Re: SO_REUSEPORT - can it be done in kernel?
From: David Miller <davem@davemloft.net>
Date: 2011-02-26 02:12:07
From: David Miller <davem@davemloft.net>
Date: 2011-02-26 02:12:07
From: Herbert Xu <herbert@gondor.apana.org.au> Date: Sat, 26 Feb 2011 08:57:18 +0800
It isn't all that hard since the easy way would be to only take the lock if we're already corked or about to cork.
We take the lock unconditionally because we essentially have to after UDP takes on the socket buffer accounting facilities similar to TCP.