From owner-freebsd-net@freebsd.org Wed Jan 13 12:30:44 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 12E4FA6B9FC for ; Wed, 13 Jan 2016 12:30:44 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D39281482 for ; Wed, 13 Jan 2016 12:30:43 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id A57171FE024; Wed, 13 Jan 2016 13:30:39 +0100 (CET) Subject: Re: Kernel panic from lagg_ioctl and lagg_port_ioctl To: "Lewis, Fred" , "freebsd-net@freebsd.org" References: Cc: "Sundararajan, Lakshmi" , "Kothavade, Pushkar" , "Pokala, Ravi" From: Hans Petter Selasky Message-ID: <569643F4.5060209@selasky.org> Date: Wed, 13 Jan 2016 13:32:52 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jan 2016 12:30:44 -0000 On 01/12/16 22:13, Lewis, Fred wrote: > In earlier versions of lagg_ioctl() (e.g. stable/10/r171247) all of the callout > vectors are set to NULL which I think will prevent the problem. Similar NULLing code > is also in stable/7. I didn't check other releases. Don't forget to drain the callouts before NULL-ing them! --HPS