Re: [PATCH net-next 2/2] inet: Fix get port to handle zero port number with soreuseport set

2016-12-15 Thread Craig Gallek
On Wed, Dec 14, 2016 at 7:54 PM, Tom Herbert wrote: > A user may call listen with binding an explicit port with the intent > that the kernel will assign an available port to the socket. In this > case inet_csk_get_port does a port scan. For such sockets, the user may > also

[PATCH net-next 2/2] inet: Fix get port to handle zero port number with soreuseport set

2016-12-14 Thread Tom Herbert
A user may call listen with binding an explicit port with the intent that the kernel will assign an available port to the socket. In this case inet_csk_get_port does a port scan. For such sockets, the user may also set soreuseport with the intent a creating more sockets for the port that is