From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: [PATCH net-next 1/4] inet: Add a count to struct inet_listen_hashbucket Date: Fri, 01 Dec 2017 09:19:26 -0800 Message-ID: <1512148766.19682.34.camel@gmail.com> References: <20171130232327.561108-1-kafai@fb.com> <20171130232327.561108-2-kafai@fb.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Cc: "David S . Miller" , Eric Dumazet , Kernel Team To: Martin KaFai Lau , netdev Return-path: Received: from mail-io0-f170.google.com ([209.85.223.170]:39090 "EHLO mail-io0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750988AbdLARTa (ORCPT ); Fri, 1 Dec 2017 12:19:30 -0500 Received: by mail-io0-f170.google.com with SMTP id h12so11993446iof.6 for ; Fri, 01 Dec 2017 09:19:30 -0800 (PST) In-Reply-To: <20171130232327.561108-2-kafai@fb.com> Sender: netdev-owner@vger.kernel.org List-ID: On Thu, 2017-11-30 at 15:23 -0800, Martin KaFai Lau wrote: > This patch adds a count to the 'struct inet_listen_hashbucket'. > It counts how many sk is hashed to a bucket.  It will be > used to decide if the (to-be-added) portaddr listener's hashtable > should be used during inet[6]_lookup_listener(). > > Signed-off-by: Martin KaFai Lau > --- > Reviewed-by: Eric Dumazet