[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120619.175435.1705108432673390966.davem@davemloft.net>
Date: Tue, 19 Jun 2012 17:54:35 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: bhutchings@...arflare.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH v2] ipv4: Early TCP socket demux.
From: Ben Hutchings <bhutchings@...arflare.com>
Date: Wed, 20 Jun 2012 01:21:06 +0100
> This works only because MAX_INET_PROTOS is defined as 256, so that hash
> == protocol. If we were ever to change MAX_INET_PROTOS then we would
> need to add a whole lot of protocol checks, but this isn't particularly
> obvious! Perhaps it would be better to remove the 'hashing' altogether?
We never have changed the value and we never will. The hash is
perfect, what's the big deal?
--
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