From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net] net: vxlan: fix crash when interface is created with no group Date: Tue, 18 Mar 2014 23:20:27 -0400 (EDT) Message-ID: <20140318.232027.1528407849060824608.davem@davemloft.net> References: <1395055050-20874-1-git-send-email-mike.rapoport@ravellosystems.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: or.gerlitz@gmail.com, netdev@vger.kernel.org To: mike.rapoport@ravellosystems.com Return-path: Received: from shards.monkeyblade.net ([149.20.54.216]:58206 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932755AbaCSDU2 (ORCPT ); Tue, 18 Mar 2014 23:20:28 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: From: Mike Rapoport Date: Tue, 18 Mar 2014 17:51:23 +0200 > On Tue, Mar 18, 2014 at 5:10 PM, Or Gerlitz wrote: >> On Mon, Mar 17, 2014 at 1:17 PM, Mike Rapoport >> wrote: >>> If the vxlan interface is created without group definition, there is a >>> panic on the first packet reception: >>> >>> $ ip link add dev vxlan0 type vxlan id 1 >>> $ ip addr add dev vxlan0 10.0.0.1/24 >>> $ ip link set up dev vxlan0 >>> >>> BUG: unable to handle kernel paging request at 0000000100000103 >>> IP: [] ipv6_rcv+0xfa/0x399 >> >> Hi Mike, >> >> So this bug/fix is for 3.14 and also earlier kernels? > > I think the bug was introduced by addition of ipv6 to vxlan, which was > merged in 3.12. How did this code behave before ipv6 support was added?