Re: git: e1882428dcbb - main - ifnet/mbuf: provide KPI to serialize/restore m->m_pkthdr.rcvif
- Reply: Mateusz Guzik : "Re: git: e1882428dcbb - main - ifnet/mbuf: provide KPI to serialize/restore m->m_pkthdr.rcvif"
- In reply to: Mateusz Guzik : "Re: git: e1882428dcbb - main - ifnet/mbuf: provide KPI to serialize/restore m->m_pkthdr.rcvif"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 27 Jan 2022 17:19:48 UTC
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