From nobody@FreeBSD.org  Mon Apr 16 17:27:46 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 8B48A1065672
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 16 Apr 2012 17:27:46 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 77BE58FC08
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 16 Apr 2012 17:27:46 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q3GHRkqq099829
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 16 Apr 2012 17:27:46 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q3GHRk3D099828;
	Mon, 16 Apr 2012 17:27:46 GMT
	(envelope-from nobody)
Message-Id: <201204161727.q3GHRk3D099828@red.freebsd.org>
Date: Mon, 16 Apr 2012 17:27:46 GMT
From: Shawn Webb <shwebb@wayfair.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: epair Device Does Not Support Span
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         167006
>Category:       kern
>Synopsis:       epair Device Does Not Support Span
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 16 17:30:01 UTC 2012
>Closed-Date:    Mon Apr 16 20:17:05 UTC 2012
>Last-Modified:  Mon Apr 16 20:17:05 UTC 2012
>Originator:     Shawn Webb
>Release:        FreeBSD 9-STABLE
>Organization:
Wayfair LLC
>Environment:
FreeBSD fbsd-sec 9.0-STABLE FreeBSD 9.0-STABLE #8 r234294+e3d9fa1: Mon Apr 16 10:15:20 MDT 2012     shawn@fbsd-sec:/usr/obj/src/sys/SEC  amd64
>Description:
The epair(4) device does not support being set as a span device in a bridge. ifconfig reports "ifconfig: BRDGADDS epair0a: Device busy" error when trying to set up the device as a span port.
>How-To-Repeat:
As root:
ifconfig bridge0 create
ifconfig bridge0 up
ifconfig epair0 create
ifconfig bridge0 addm epair0a
ifconfig epair0a up
ifconfig bridge0 span epair0a # <- You will get an error here: "ifconfig: BRDGADDS epair0a: Device busy"
>Fix:


>Release-Note:
>Audit-Trail:

From: Remko Lodder <remko@elvandar.org>
To: Shawn Webb <shwebb@wayfair.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: kern/167006: epair Device Does Not Support Span
Date: Mon, 16 Apr 2012 21:22:46 +0200

 >=20
 >> How-To-Repeat:
 > As root:
 > ifconfig bridge0 create
 > ifconfig bridge0 up
 > ifconfig epair0 create
 > ifconfig bridge0 addm epair0a
 > ifconfig epair0a up
 > ifconfig bridge0 span epair0a # <- You will get an error here: =
 "ifconfig: BRDGADDS epair0a: Device busy"
 >> Fix:
 
 =09
 Can that happen because you already added epair0a to the bridge0 =
 interface???=09
 
 
 --=20
 /"\   With kind regards,			| remko@elvandar.org
 \ /   Remko Lodder			| remko@FreeBSD.org
 X    FreeBSD					| =
 http://www.evilcoder.org
 / \   The Power to Serve		| Quis custodiet ipsos custodes
 

From: Shawn Webb <shwebb@wayfair.com>
To: Remko Lodder <remko@elvandar.org>
Cc: "freebsd-gnats-submit@FreeBSD.org" <freebsd-gnats-submit@FreeBSD.org>
Subject: RE: kern/167006: epair Device Does Not Support Span
Date: Mon, 16 Apr 2012 15:34:19 -0400

 Ah, you're right. The epair device must be added to the bridge by calling: =
 ifconfig bridge[n] span epair[n]a. Please close the ticket.
 
State-Changed-From-To: open->closed 
State-Changed-By: remko 
State-Changed-When: Mon Apr 16 20:17:04 UTC 2012 
State-Changed-Why:  
Local problem, submitter reports that I can close the ticket, make it 
happen.. thanks for supporting FreeBSD! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=167006 
>Unformatted:
