From owner-freebsd-net@FreeBSD.ORG Tue Jul 16 15:33:38 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id EB50CE56; Tue, 16 Jul 2013 15:33:38 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) by mx1.freebsd.org (Postfix) with ESMTP id CA30EE93; Tue, 16 Jul 2013 15:33:38 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 339FDB978; Tue, 16 Jul 2013 11:33:38 -0400 (EDT) From: John Baldwin To: freebsd-net@freebsd.org, "sbruno@freebsd.org" Subject: Re: bind error when using SO_REUSEPORT(implies SO_REUSEADDR) Date: Tue, 16 Jul 2013 11:12:46 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p25; KDE/4.5.5; amd64; ; ) References: <1331855948.3317.17.camel@powernoodle-l7.corp.yahoo.com> <1331856466.3317.18.camel@powernoodle-l7.corp.yahoo.com> In-Reply-To: <1331856466.3317.18.camel@powernoodle-l7.corp.yahoo.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201307161112.46116.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Tue, 16 Jul 2013 11:33:38 -0400 (EDT) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 15:33:39 -0000 On Thursday, March 15, 2012 8:07:46 pm Sean Bruno wrote: > 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 ... :-) Did the recent commit to HEAD fix this btw? -- John Baldwin