From owner-svn-src-all@FreeBSD.ORG Tue May 20 02:59:14 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7D781951; Tue, 20 May 2014 02:59:14 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6B73A2244; Tue, 20 May 2014 02:59:14 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4K2xEa4055335; Tue, 20 May 2014 02:59:14 GMT (envelope-from grehan@svn.freebsd.org) Received: (from grehan@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4K2xECK055334; Tue, 20 May 2014 02:59:14 GMT (envelope-from grehan@svn.freebsd.org) Message-Id: <201405200259.s4K2xECK055334@svn.freebsd.org> From: Peter Grehan Date: Tue, 20 May 2014 02:59:14 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r266462 - head/sys/net X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2014 02:59:14 -0000 Author: grehan Date: Tue May 20 02:59:13 2014 New Revision: 266462 URL: http://svnweb.freebsd.org/changeset/base/266462 Log: Bump bhyve allocation up to 20 bits to avoid birthday-paradox style address collisions when bhyve VMs are connected to the same broadcoast domain and are using pseudo-random allocations. Reviewed by: gnn MFC after: 1 week Modified: head/sys/net/ieee_oui.h Modified: head/sys/net/ieee_oui.h ============================================================================== --- head/sys/net/ieee_oui.h Tue May 20 01:17:59 2014 (r266461) +++ head/sys/net/ieee_oui.h Tue May 20 02:59:13 2014 (r266462) @@ -62,6 +62,6 @@ * allocated for any reason. */ -/* Allocate 64K to bhyve */ +/* Allocate 20 bits to bhyve */ #define OUI_FREEBSD_BHYVE_LOW OUI_FREEBSD(0x000001) -#define OUI_FREEBSD_BHYVE_HIGH OUI_FREEBSD(0x00ffff) +#define OUI_FREEBSD_BHYVE_HIGH OUI_FREEBSD(0x0fffff)