diff options
author | bz <bz@FreeBSD.org> | 2011-07-03 16:08:38 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2011-07-03 16:08:38 +0000 |
commit | 300a95bf76e162113e6631c5538072e8a1aec2bb (patch) | |
tree | 5b26fb6f45285f3368af628d56f5ce11128abe81 /sys/net/if_gif.c | |
parent | cf260e73d64c6f9645f9836a1a5e0f93061ae882 (diff) | |
download | FreeBSD-src-300a95bf76e162113e6631c5538072e8a1aec2bb.zip FreeBSD-src-300a95bf76e162113e6631c5538072e8a1aec2bb.tar.gz |
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
Diffstat (limited to 'sys/net/if_gif.c')
-rw-r--r-- | sys/net/if_gif.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/if_gif.c b/sys/net/if_gif.c index 4a8df34..2b6b2b4 100644 --- a/sys/net/if_gif.c +++ b/sys/net/if_gif.c @@ -609,6 +609,7 @@ gif_input(m, af, ifp) ifp->if_ipackets++; ifp->if_ibytes += m->m_pkthdr.len; + M_SETFIB(m, ifp->if_fib); netisr_dispatch(isr, m); } |