[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1443320655.3273.7.camel@edumazet-glaptop2.roam.corp.google.com>
Date: Sat, 26 Sep 2015 19:24:15 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Tolga Ceylan <tolga.ceylan@...il.com>
Cc: Aaron Conole <aconole@...heb.org>,
"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: [PATCH 1/1] net: Add SO_REUSEPORT_LISTEN_OFF socket option as
drain mode
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.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists