From owner-freebsd-wireless@freebsd.org Mon Oct 12 03:18:46 2015 Return-Path: Delivered-To: freebsd-wireless@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 AAE77A11D1F; Mon, 12 Oct 2015 03:18:46 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x229.google.com (mail-ig0-x229.google.com [IPv6:2607:f8b0:4001:c05::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7B4841BEC; Mon, 12 Oct 2015 03:18:46 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by ignr19 with SMTP id r19so9512199ign.1; Sun, 11 Oct 2015 20:18:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=4JYEaTRwSmdp3aZ/vrTXVc2r0SEyHFqhEk66wpJkzkc=; b=xlaz8uzHzjjWFjnLPj1zp1+RlnS325J3yNaDfzvGHo+8W4SM553ATjUMvCMU0N5/6V 7Ps4BfFJ5xz/8vLQ9wSR6ZmWfcvj7XXok2ywuyJJCC9ui9BO034D1oBgqzXMvN5Rqdof nA0HrI1w0dsfGInkpCTn+LkPMMRQugqQZ0UjJSjHN32lb7BHy+r3EcyzwAwxJOdoBVor 8IMLkcIsJhZhhudIz1XESMcRL+d5HdrDmUIV411PnCPZMsEcoWiPVfg8do6ygVo3PxWW MuuplyKWKN0k+Rw0cA7ekicSG8g25Nh3NFpsqbGSG7nfMXLgqFUJ3IRGnAcNh9nn0apH MoPw== MIME-Version: 1.0 X-Received: by 10.50.61.137 with SMTP id p9mr10099697igr.37.1444619925797; Sun, 11 Oct 2015 20:18:45 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.2.10 with HTTP; Sun, 11 Oct 2015 20:18:45 -0700 (PDT) Date: Sun, 11 Oct 2015 20:18:45 -0700 X-Google-Sender-Auth: cuPdNm-1ftcOJLGet4g1HFrbNEk Message-ID: Subject: Warning: upcoming net80211 churn, be careful! From: Adrian Chadd To: "freebsd-wireless@freebsd.org" , freebsd-current Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Oct 2015 03:18:46 -0000 Hi! I'm about to start merging in changes from Andriy that change how the transmit path in net80211 works. Right now it's a holdover from the old if_start style mechanism - a call to if_start() always consumed the mbuf, even upon an error. He's changing it so upon error the caller returns without freeing the mbuf and node reference - that way net80211 can do something smart (or not, it depends on what he/gleb get up to in the future.) I much prefer this model moving forward, so I'm going to start merging in his code. It's quite possible that there'll be some temporary whack-a-mole with mbuf / node reference handling, so please bear with us. If you track -head and see anything weird with wifi support after tonight (that wasn't already weird!) then please do email us on the freebsd-wireless@ list. Thanks! -a