Re: SO_REUSEPORT - can it be done in kernel?

David Miller
2011-02-26T02:12:07Z

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.