From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: AW: AW: AW: PROBLEM: Kernel Oops in UDP stack Date: Thu, 2 Aug 2018 06:05:36 -0700 Message-ID: References: <18092446dfa7435aaa8deaab65afbf23@ZCOM03.mut-group.com> <96753ca4-88fe-aa26-b439-6e22eaf8b524@gmail.com> <9f9d731107594b368504cbbaf698bc3d@ZCOM03.mut-group.com> <225373e97b42e0e5ee6210b329f0bbb94055b651.camel@redhat.com> <7feb4b8950b842469265672f4c7b381d@ZCOM03.mut-group.com> <1ae1b19241734bfaacff082d241932f9@ZCOM03.mut-group.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: "'netdev@vger.kernel.org'" , "'linux-kernel@vger.kernel.org'" , Matthias Wystrik To: Marcel Hellwig , 'Eric Dumazet' , Paolo Abeni , "'davem@davemloft.net'" , "'kuznet@ms2.inr.ac.ru'" , "'yoshfuji@linux-ipv6.org'" , "'andrew@lunn.ch'" Return-path: In-Reply-To: Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On 08/02/2018 04:02 AM, Marcel Hellwig wrote: > Hi everyone, > > I did three things that evening. > * I created a small dts file, so I could boot a 3.5.7 kernel. > * Ported the pskb_expand_head from 3.5.7 to 3.4.113 > * Ported the whole skbuf.{c,h} file from 3.5.7 to 3.4.113 That seems bold :0) Sorry, we only backport one fix at a time. You can not simply copy whole files from one version to another. > > Sadly enough the second and third one panicked as well, but interestingly not the first one (3.5.7 with a simple dts file). Now the question is: Is something changed outside of the skbuf (maybe in udp.{c,h}?) or is it because the dts uses a different approach of talking to the MAC of the lpc3250? > > I may try a more recent kernel with a dts file (maybe a 4.x.x one), but I think that will be impossible to backport a patch for our 2.6 kernel :( > > If anybody has any more ideas about why the dts kernel does not panic, you're very welcome. > > Mit freundlichen Grüßen / With kind regards > > Marcel Hellwig > B. Sc. Informatik > Entwickler > > m-u-t GmbH > Am Marienhof 2 > 22880 Wedel > Germany > > Phone: +49 4103 9308 - 474 > Fax:   +49 4103 9308 - 99 > mhellwig@mut-group.com > > www.mut-group.com > > Geschäftsführer (Managing Director): Fabian Peters > Amtsgericht Pinneberg (Commercial Register No.): HRB 10304 PI > USt-IdNr. (VAT-No.): DE228275390 > WEEE-Reg-Nr.: DE 72271808 > >