From owner-freebsd-net@FreeBSD.ORG Mon Sep 21 15:28:27 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD467106566B for ; Mon, 21 Sep 2009 15:28:27 +0000 (UTC) (envelope-from brampton@gmail.com) Received: from mail-fx0-f222.google.com (mail-fx0-f222.google.com [209.85.220.222]) by mx1.freebsd.org (Postfix) with ESMTP id 6F6658FC08 for ; Mon, 21 Sep 2009 15:28:26 +0000 (UTC) Received: by fxm22 with SMTP id 22so1544614fxm.36 for ; Mon, 21 Sep 2009 08:28:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=LRkp9fUvfH52uFjkH3ycYvfmDWoz094dKmGLMk4NNGk=; b=sXFQpvx/Lco7Jmizy2ffuE4tsE4GNJshh+ZAXzskKy1nrPykDq3N1hJgmZ4OF6E+rg ri5iAqaJgwIIMnHuG5XXLkQOEAA++RioUNIU7W4boq9T9sdQ3Ss4PP12iKU5BUGfqpOF eWglUhVrZHM7NK4iUR4eI/UOx31pY3HgtppOk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=wwfH2Da5WoG/tMn01QazhDUr2K4x5l3Iqrbm9ohsx4SqFwA7XXSkvvQZZDougFFtye 7mzwkLheR67zuEd5G2vsCRkvHRksCO8J/V1uu1+Pdvifr+lx/wQg0wUqpawrl2P4s1O/ G9WxHDC7g9RSvyK3FoiwoyW7ZMaegLT11j+Fk= MIME-Version: 1.0 Sender: brampton@gmail.com Received: by 10.223.5.77 with SMTP id 13mr1139001fau.86.1253546906026; Mon, 21 Sep 2009 08:28:26 -0700 (PDT) In-Reply-To: <20090921151318.GA27605@sandvine.com> References: <20090921151318.GA27605@sandvine.com> Date: Mon, 21 Sep 2009 16:28:25 +0100 X-Google-Sender-Auth: f8da748ca7b1e2aa Message-ID: From: Andrew Brampton To: Ed Maste Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-net@freebsd.org Subject: Re: Is this a race in mbuf's refcounting? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Sep 2009 15:28:27 -0000 2009/9/21 Ed Maste : > On Mon, Sep 21, 2009 at 01:43:33PM +0100, Andrew Brampton wrote: > > Your analysis is correct; this issue also has a PR, kern/137145. > http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dkern/137145 > > As you point out it requires that two threads have a reference to the > same non-shared mbuf. =C2=A0I had a quick look and didn't find any case o= f > this in the vanilla FreeBSD tree; if I didn't miss anything it'll > affect only 3rd party src. > > We'll need to have a look at this after 8.0 is done. > > -Ed > I didn't notice there was a PR for this. Thanks Andrew