From owner-freebsd-net@FreeBSD.ORG Fri Mar 16 00:18:12 2012 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 5F47A106564A for ; Fri, 16 Mar 2012 00:18:12 +0000 (UTC) (envelope-from seanbru@yahoo-inc.com) Received: from mrout2-b.corp.bf1.yahoo.com (mrout2-b.corp.bf1.yahoo.com [98.139.253.105]) by mx1.freebsd.org (Postfix) with ESMTP id 1D1158FC0A for ; Fri, 16 Mar 2012 00:18:11 +0000 (UTC) Received: from [127.0.0.1] (rideseveral.corp.yahoo.com [10.73.160.231]) by mrout2-b.corp.bf1.yahoo.com (8.14.4/8.14.4/y.out) with ESMTP id q2G07lpp018899 for ; Thu, 15 Mar 2012 17:07:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yahoo-inc.com; s=cobra; t=1331856467; bh=U9NMmZ/C3rnCmeOjGalJaAj3aXn/OlYMTyHxQPKObsM=; h=Subject:From:Reply-To:To:In-Reply-To:References:Content-Type:Date: Message-ID:Mime-Version:Content-Transfer-Encoding; b=wnBzM8tcA77NSnj1nhnH1NUEuwsqejgeA2e/4/HVmZ5JCxXIyI226UZ550UgEW8kD hIHRRwFcNJNokQ4neXmKsXSmMy4N5NST10z87tDNG7wZ4FLf47VVJ/rG7wgKLfC2t4 +ErsMSNCxEZ9iqg22+/5qoT+xM4zCTAXMlql0A1I= From: Sean Bruno To: "freebsd-net@freebsd.org" In-Reply-To: <1331855948.3317.17.camel@powernoodle-l7.corp.yahoo.com> References: <1331855948.3317.17.camel@powernoodle-l7.corp.yahoo.com> Content-Type: text/plain; charset="UTF-8" Date: Thu, 15 Mar 2012 17:07:46 -0700 Message-ID: <1331856466.3317.18.camel@powernoodle-l7.corp.yahoo.com> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: Re: bind error when using SO_REUSEPORT(implies SO_REUSEADDR) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "sbruno@freebsd.org" List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Mar 2012 00:18:12 -0000 On Thu, 2012-03-15 at 16:59 -0700, Sean Bruno wrote: > Hey, I just found a bind bug ticket in my queue about bind. I noted > that on stable/6 stable/7 stable/9 & head the referenced code "fails". > > It seems that this is a problem, but I have no idea if its a real > problem or not. Our devs think it is. Anyway, here is a code snippet > to show the failure in bind. On linux/solaris this does not fail. > > http://people.freebsd.org/~sbruno/bind_test.c > > simple compile with gcc -o test test.c and run as normal user. > > Sean > this is bind() not bind ... :-) Sean