Re: [PATCH 1/1] net: Add SO_REUSEPORT_LISTEN_OFF socket option as drain mode
From: Eric Dumazet <hidden>
Date: 2015-09-27 02:24:17
From: Eric Dumazet <hidden>
Date: 2015-09-27 02:24:17
On Sat, 2015-09-26 at 19:02 -0700, Tolga Ceylan wrote:
By keeping hiscore/matches as is, I'm trying to keep the hashing consistent. Otherwise, this would behave similar to removing a listener which drops connections.
Right, this problem will soon disappear when listener rewrite is complete. Only SYN packet will have to select a listener. Then when ACK packet comes, the SYN_RECV will be found in ehash table, and req->rsk_listener will be used to get the listener that was chosen at SYN time.