From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next] inet: add bound ports statistic Date: Thu, 03 May 2018 11:27:50 -0400 (EDT) Message-ID: <20180503.112750.1829940499365220097.davem@davemloft.net> References: <20180502221108.3261-1-sthemmin@microsoft.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, sthemmin@microsoft.com To: stephen@networkplumber.org Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:48366 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751050AbeECP1w (ORCPT ); Thu, 3 May 2018 11:27:52 -0400 In-Reply-To: <20180502221108.3261-1-sthemmin@microsoft.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Stephen Hemminger Date: Wed, 2 May 2018 15:11:08 -0700 > +int inet_bind_bucket_count(struct proto *prot); ... > +/* Count how many any entries are in the bind hash table */ > +unsigned int inet_bind_bucket_count(struct proto *prot) If it doesn't build, it definitely wasn't tested. Right? :)