[Bug 274028] ng_bridge fails to learn MAC addresses if link is in different VNET
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 23 Sep 2023 09:02:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274028 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=245156&action=edit Switch VNETs when injecting mbufs into netgraph Good catch, thanks! However, the culprit here is not ng_bridge, but ng_eiface, 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 into netgraph, ng_eiface should switch curvnet to that of the netgraph layer, which 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. -- You are receiving this mail because: You are the assignee for the bug.