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/net/if_stf.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/net/if_stf.c') diff --git a/sys/net/if_stf.c b/sys/net/if_stf.c index 1ef5581..e32956e 100644 --- a/sys/net/if_stf.c +++ b/sys/net/if_stf.c @@ -781,6 +781,7 @@ in_stf_input(m, off) */ ifp->if_ipackets++; ifp->if_ibytes += m->m_pkthdr.len; + M_SETFIB(m, ifp->if_fib); netisr_dispatch(NETISR_IPV6, m); } -- cgit v1.1