Re: [PATCH 1/1] net: Add SO_REUSEPORT_LISTEN_OFF socket option as drain mode
From: Eric Dumazet <hidden>
Date: 2015-11-12 01:09:23
From: Eric Dumazet <hidden>
Date: 2015-11-12 01:09:23
On Wed, 2015-11-11 at 10:43 -0800, Eric Dumazet wrote:
On Wed, 2015-11-11 at 10:23 -0800, Tom Herbert wrote:quoted
How about doing this in shutdown called for a listener?Seems a good idea, I will try it, thanks !
Arg, I forgot about this shutdown() discussion we had recently with Oracle guys. It is currently used in linux to unblock potential threads in accept() system call. This would prevent syn_recv sockets to be finally accepted.