From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH iproute2 net-next] nstat: add sctp snmp support Date: Fri, 2 Sep 2016 12:48:45 -0700 Message-ID: <20160902124845.62b08d80@xeon-e3> References: <1472800358-31881-1-git-send-email-liuhangbin@gmail.com> <20160902124649.1ead9f4a@xeon-e3> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, Phil Sutter To: Hangbin Liu Return-path: Received: from mail-pf0-f174.google.com ([209.85.192.174]:35601 "EHLO mail-pf0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932340AbcIBTsg (ORCPT ); Fri, 2 Sep 2016 15:48:36 -0400 Received: by mail-pf0-f174.google.com with SMTP id x72so45213665pfd.2 for ; Fri, 02 Sep 2016 12:48:36 -0700 (PDT) In-Reply-To: <20160902124649.1ead9f4a@xeon-e3> Sender: netdev-owner@vger.kernel.org List-ID: On Fri, 2 Sep 2016 12:46:49 -0700 Stephen Hemminger wrote: > On Fri, 2 Sep 2016 15:12:38 +0800 > Hangbin Liu wrote: > > > SCTP module was not load by default. But this should be OK since we will not > > load table if fdopen() failed. > > > > Signed-off-by: Hangbin Liu > > This seems like a bad idea for the normal distro user. > If they run nstat command the SCTP kernel module would get loaded even > if never used. > > Makes more sense not to display SCTP statistics if it isn't loaded. > Never mind, opening the proc file won't load SCTP kernel module.