From owner-freebsd-hackers@FreeBSD.ORG Mon Oct 22 21:43:12 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7F6D6F3; Mon, 22 Oct 2012 21:43:12 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4165A8FC1E; Mon, 22 Oct 2012 21:43:11 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id rp8so2402873pbb.13 for ; Mon, 22 Oct 2012 14:43:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=s4yY5Y5HEPFTOU/+X8vYT+lyVqOEj1PZ/W46fdeBZYM=; b=VsmU/fWuMSPnGum+7DiB2NLvrh15t1eiZNlxTZlBhtnnC0CIIOZVzjtK0hle0MkBdD bNR4+3IMTtMfY83AdFSUQ4dwWqv8HcJg/sXnzGdr62rpsrDw9r4736OHuYv9f1ui6gvd VEbZ1GfUOhCnuIKSORa1C2yGlD+lCyx+jOlqLFDfu9hI4EFH0jaPptJfUPpoYTwlXUId qSf4ShrOt7z4T7OiTzKatm1NB5oVY5jyo/51YNRiguTEmuZN1qYIS3HLrfSc0f00/5Rc Yf0Bds+IP+C8CtxPiKrpolDIlMWOye2xAWYR52tQT/CnP5GT7f4CurTrZ6N3KmJZTYZE aTig== MIME-Version: 1.0 Received: by 10.66.80.133 with SMTP id r5mr29658954pax.24.1350942191776; Mon, 22 Oct 2012 14:43:11 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.146.233 with HTTP; Mon, 22 Oct 2012 14:43:11 -0700 (PDT) In-Reply-To: <201210222317.00457.zec@fer.hr> References: <5085827D.5090108@freebsd.org> <201210222317.00457.zec@fer.hr> Date: Mon, 22 Oct 2012 14:43:11 -0700 X-Google-Sender-Auth: 4NJ6mWnKmAtqU93tCntqSYS6YuY Message-ID: Subject: Re: VIMAGE crashes on 9.x with hotplug net80211 devices From: Adrian Chadd To: Marko Zec Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-net@freebsd.org, freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2012 21:43:12 -0000 Hi, I don't mind tackling the net80211 clone detach path. I do mind how the default for hotplug is "argh, it doesn't work." :-) So I'd like to come up with something to fix the basic device detach, rather than having to actually add CURVNET_*() calls around each if_free() in each device detach method. Adrian