From owner-freebsd-current@freebsd.org Wed Jul 8 19:33:06 2015 Return-Path: Delivered-To: freebsd-current@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 EA65899694A for ; Wed, 8 Jul 2015 19:33:06 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: from mail-wi0-x22b.google.com (mail-wi0-x22b.google.com [IPv6:2a00:1450:400c:c05::22b]) (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 86F7F1BF5; Wed, 8 Jul 2015 19:33:06 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: by wiclp1 with SMTP id lp1so90079251wic.0; Wed, 08 Jul 2015 12:33:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=txDydettEpnrKzZL6aeSRYNWK63DlPFTnuZwHJaeRmA=; b=LBTosqiTlAUBF07HuEtszm0XsJhmX6QQTT2m9Wl37kviVR8BAmt6DHzwrLjkGf/IGX TxjGB4S2KtbiKXp7DqdvnyGWUVRGkv+22I78vX2pe3x/uksMm/KqyXjWLauUx5wr6vxw vYHHnrwugiVblyHfhB7hLUz1P4YR8h1//Qso0hJPvhhiAcO1kQ+XdAXxDv0GASz/FQqM u24zixvmuh4D54kx0d233U1lrlXgP00/BDzqF5WaKNeoAEhUDa/ExRZWqYKz3s79z4RB ikWCM/ntBq7oylu+rc33moMbKdqwBJcHxR6oL+SpgNSRsk5yz+7AAZ8lA4M5LPsBqN93 z+0Q== X-Received: by 10.194.89.72 with SMTP id bm8mr23243544wjb.116.1436383985125; Wed, 08 Jul 2015 12:33:05 -0700 (PDT) Received: from dft-labs.eu (n1x0n-1-pt.tunnel.tserv5.lon1.ipv6.he.net. [2001:470:1f08:1f7::2]) by smtp.gmail.com with ESMTPSA id b4sm4442041wic.7.2015.07.08.12.33.02 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 08 Jul 2015 12:33:03 -0700 (PDT) Date: Wed, 8 Jul 2015 21:33:00 +0200 From: Mateusz Guzik To: Andriy Gapon Cc: freebsd-current@FreeBSD.org, pjd@FreeBSD.org Subject: Re: unp gc vs socket close/shutdown race Message-ID: <20150708193300.GB9156@dft-labs.eu> Mail-Followup-To: Mateusz Guzik , Andriy Gapon , freebsd-current@FreeBSD.org, pjd@FreeBSD.org References: <20150708001538.GA9156@dft-labs.eu> <559CCDED.103@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <559CCDED.103@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jul 2015 19:33:07 -0000 On Wed, Jul 08, 2015 at 10:14:53AM +0300, Andriy Gapon wrote: > Mateusz, > > this seems to be the same problem as reported here > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194264 so you might want to > use that PR for bookkeeping. Taken. Note that the code in question is overall super fishy and will likely want a detailed review/rewrite at some point. Hopefully the patch is a sufficient band aid until such time comes. -- Mateusz Guzik