Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Sep 2023 09:02:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 274028] ng_bridge fails to learn MAC addresses if link is in different VNET
Message-ID:  <bug-274028-7501-gvqz1Cmf5A@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-274028-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-274028-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274028

Marko Zec <zec@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zec@FreeBSD.org

--- Comment #1 from Marko Zec <zec@FreeBSD.org> ---
Created attachment 245156
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D245156&action=
=3Dedit
Switch VNETs when injecting mbufs into netgraph

Good catch, thanks!  However, the culprit here is not ng_bridge, but ng_eif=
ace,
whic may be on lease to another vnet, while it remains bonded to its origin
vnet on the netgraph layer.  In such circumstances, when injecting mbufs in=
to
netgraph, ng_eiface should switch curvnet to that of the netgraph layer, wh=
ich
it fails to.  For the problem at hand, the attached patch would be a more
accurate fix, since it cures the cause, not the symptom.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274028-7501-gvqz1Cmf5A>