Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934337AbcKVSSf (ORCPT ); Tue, 22 Nov 2016 13:18:35 -0500 Received: from mail-io0-f171.google.com ([209.85.223.171]:36855 "EHLO mail-io0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932768AbcKVSSd (ORCPT ); Tue, 22 Nov 2016 13:18:33 -0500 MIME-Version: 1.0 In-Reply-To: <1479838123.681.173.camel@intel.com> References: <20161121092855.GA20976@kroah.com> <20161122165912.GA19939@tuebingen.mpg.de> <20161122170654.GA20022@kroah.com> <1479836511.681.165.camel@intel.com> <20161122175504.GD19939@tuebingen.mpg.de> <20161122180605.GE19939@tuebingen.mpg.de> <1479838123.681.173.camel@intel.com> From: Eric Dumazet Date: Tue, 22 Nov 2016 10:18:31 -0800 Message-ID: Subject: Re: Linux 4.4.34 To: "Duyck, Alexander H" Cc: "maan@tuebingen.mpg.de" , "linux-kernel@vger.kernel.org" , "ast@kernel.org" , "stable@vger.kernel.org" , "willemb@google.com" , "gregkh@linuxfoundation.org" , "jslaby@suse.cz" , "davem@davemloft.net" , "yibyang@cisco.com" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1044 Lines: 30 On Tue, Nov 22, 2016 at 10:08 AM, Duyck, Alexander H wrote: > Okay I think I have figured it out, but I am not sure what a good > solution is. > > I think the problem is the fact that the keys may not be initialized > until init_default_flow_dissectors is called and I am not sure that is > happening before the network interface is trying to do DHCP. > > I have to look at the initialization framework to verify if that is the > case. It would make sense why I don't usually see it though since I > usually run igb as a module and that doesn't get loaded until later if > I am not mistaken. > Oh that might be that, goot catch ! Time to try : diff --git a/net/core/flow_dissector.c b/net/core/flow_dissector.c index 69e4463a4b1b..c6d8207ffa7e 100644 --- a/net/core/flow_dissector.c +++ b/net/core/flow_dissector.c @@ -1013,4 +1013,4 @@ static int __init init_default_flow_dissectors(void) return 0; } -late_initcall_sync(init_default_flow_dissectors); +core_initcall(init_default_flow_dissectors);