I like to mention that after update to FreeBSD 12.1 Stable r360998 the
correct patch is:
--- if_bridge.c.1st 2020-02-05 01:47:03.0 +0100
+++ if_bridge.c 2020-05-18 17:41:11.0 +0200
@@ -2406,6 +2406,10 @@
(*bifp->if_input)(bifp, mc2);
}
+
> On 28 Dec 2019, at 12:52, Andreas Longwitz wrote:
>
> In the meantime I have understand I was wrong about the code snippet
>
>> mc2 = m_dup(m, M_NOWAIT);
>> if (mc2 != NULL) {
>> /* Keep the layer3 header aligned */
>> int i = min(mc2->m_pkthdr.len, max_protohdr);
>> mc2
In the meantime I have understand I was wrong about the code snippet
>mc2 = m_dup(m, M_NOWAIT);
>if (mc2 != NULL) {
> /* Keep the layer3 header aligned */
> int i = min(mc2->m_pkthdr.len, max_protohdr);
> mc2 = m_copyup(mc2, i, ETHER_ALIGN);
>}
>if (mc2 != NULL) {
On a server with a bridge running FreeBSD 12.1-STABLE r354175 I try to
understand the flow of broadcast/multicast packets in pf.
The bridge interface is defined with
ifconfig_bridge0="inet 192.168.0.125/24 addm em0 addm em1 up,
further I use
net.link.bridge.inherit_mac=1,
the other net.link.br