From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH] sock_diag: fix autoloading of the raw_diag module Date: Mon, 05 Nov 2018 17:10:00 -0800 (PST) Message-ID: <20181105.171000.2028405514368315921.davem@davemloft.net> References: <20181105063715.21639-1-avagin@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, gorcunov@gmail.com, lucien.xin@gmail.com To: avagin@gmail.com Return-path: Received: from shards.monkeyblade.net ([23.128.96.9]:37326 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725839AbeKFKce (ORCPT ); Tue, 6 Nov 2018 05:32:34 -0500 In-Reply-To: <20181105063715.21639-1-avagin@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Andrei Vagin Date: Sun, 4 Nov 2018 22:37:15 -0800 > IPPROTO_TCP isn't registred as an inet protocol, so > inet_protos[protocol] is always NULL for it. > > Cc: Cyrill Gorcunov > Cc: Xin Long > Fixes: bf2ae2e4bf93 ("sock_diag: request _diag module only when the family or proto has been registered") > Signed-off-by: Andrei Vagin Applied and queued up for -stable.