From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: kernel BUG at net/core/skbuff.c:LINE! (2) Date: Sat, 09 Dec 2017 20:51:10 -0800 Message-ID: <1512881470.25033.38.camel@gmail.com> References: <001a1149c712d56ccc055cc48e37@google.com> <001a1140f5788a1817055fcfcb1f@google.com> <1512838770.25033.33.camel@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Cc: syzbot , davem , kuznet , LKML , linux-sctp@vger.kernel.org, network dev , Neil Horman , syzkaller-bugs@googlegroups.com, Vlad Yasevich , yoshfuji To: Xin Long Return-path: 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 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: 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.