Re: git: e1882428dcbb - main - ifnet/mbuf: provide KPI to serialize/restore m->m_pkthdr.rcvif
Date: Thu, 27 Jan 2022 17:29:22 UTC
this works On 1/27/22, Gleb Smirnoff <glebius@freebsd.org> wrote: > Mateusz, > > can you please confirm this patch works: > > diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c > index 9ab07b374ea..c5f842de2b7 100644 > --- a/sys/net/rtsock.c > +++ b/sys/net/rtsock.c > @@ -2169,14 +2169,12 @@ rt_dispatch(struct mbuf *m, sa_family_t saf) > *(unsigned short *)(tag + 1) = saf; > m_tag_prepend(m, tag); > } > -#ifdef VIMAGE > if (V_loif) > m->m_pkthdr.rcvif = V_loif; > else { > m_freem(m); > return; > } > -#endif > netisr_queue(NETISR_ROUTE, m); /* mbuf is free'd on failure. */ > } > > -- > Gleb Smirnoff > -- Mateusz Guzik <mjguzik gmail.com>