Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Sep 2023 09:25:04 +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-hafa3chzKU@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

--- Comment #2 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D03ef737c544d3dd90a0000c18382db99c=
cf2ee9a

commit 03ef737c544d3dd90a0000c18382db99ccf2ee9a
Author:     Marko Zec <zec@FreeBSD.org>
AuthorDate: 2023-09-23 08:56:56 +0000
Commit:     Marko Zec <zec@FreeBSD.org>
CommitDate: 2023-09-23 08:56:56 +0000

    ng_eiface: switch VNETs when injecting mbufs into netgraph

    A ng_eiface instance may be on lease to a different vnet while
    remaining tied to its parent vnet.  In such circumstances, before
    injecting mbufs into netgraph, curvnet must be set to that of the
    ng_eiface's netgraph node.  Mark the vnet transition as QUIET,
    since otherwise it would be recorded as a curvnet recursion when
    ng_eiface's ifnet resides in the same (parent) vnet as its
    netgraph node.

    PR:             274028
    Reported by:    Dancho Penev <dpslavov@hotmail.com>
    MFC after:      1 week

 sys/netgraph/ng_eiface.c | 2 ++
 1 file changed, 2 insertions(+)

--=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-hafa3chzKU>