From 300a95bf76e162113e6631c5538072e8a1aec2bb Mon Sep 17 00:00:00 2001 From: bz Date: Sun, 3 Jul 2011 16:08:38 +0000 Subject: Tag mbufs of all incoming frames or packets with the interface's FIB setting (either default or if supported as set by SIOCSIFFIB, e.g. from ifconfig). Submitted by: Alexander V. Chernikov (melifaro ipfw.ru) Reviewed by: julian MFC after: 2 weeks --- sys/dev/lmc/if_lmc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/dev/lmc/if_lmc.c') diff --git a/sys/dev/lmc/if_lmc.c b/sys/dev/lmc/if_lmc.c index 604e8df..d5fb9ba 100644 --- a/sys/dev/lmc/if_lmc.c +++ b/sys/dev/lmc/if_lmc.c @@ -2527,6 +2527,7 @@ lmc_raw_input(struct ifnet *ifp, struct mbuf *mbuf) { softc_t *sc = IFP2SC(ifp); + M_SETFIB(mbuf, ifp->if_fib); # if INET if (mbuf->m_data[0]>>4 == 4) netisr_dispatch(NETISR_IP, mbuf); -- cgit v1.1