From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751452AbdLJEvQ (ORCPT ); Sat, 9 Dec 2017 23:51:16 -0500 Received: from mail-pf0-f172.google.com ([209.85.192.172]:43810 "EHLO mail-pf0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751345AbdLJEvN (ORCPT ); Sat, 9 Dec 2017 23:51:13 -0500 X-Google-Smtp-Source: AGs4zMZeuCBPkDJN53DN+L6OAN9mfdUMWki4rvZAxRm/S0yXbTsswUtVcOtCdUnjrkHU30kz4L3anQ== Message-ID: <1512881470.25033.38.camel@gmail.com> Subject: Re: kernel BUG at net/core/skbuff.c:LINE! (2) From: Eric Dumazet To: Xin Long Cc: syzbot , davem , kuznet , LKML , linux-sctp@vger.kernel.org, network dev , Neil Horman , syzkaller-bugs@googlegroups.com, Vlad Yasevich , yoshfuji Date: Sat, 09 Dec 2017 20:51:10 -0800 In-Reply-To: References: <001a1149c712d56ccc055cc48e37@google.com> <001a1140f5788a1817055fcfcb1f@google.com> <1512838770.25033.33.camel@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6-1+deb9u1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 2017-12-10 at 12:36 +0800, Xin Long wrote: > The new patch works to me, just two questions: > 1. should it use "idev->cnf.mtu6" here for mld ? No idea why some parts of IPv6 would use a different view of device mtu. Maybe others can comment. > > 2.  'if (int < unsigned int)' is still not nice, though in 'if > (AVAILABLE(skb) < sizeof())' >      AVAILABLE(skb) seems always to return >= 0 after your patch. Really if AVAILABLE(skb) was negative, a bug already happened.