This variable is also used for route lookups, so it must always be
assigned.
ok?
Index: netinet6//ip6_input.c
===================================================================
RCS file: /cvs/src/sys/netinet6/ip6_input.c,v
retrieving revision 1.156
diff -u -p -r1.156 ip6_input.c
--- netinet6//ip6_input.c 29 Mar 2016 11:57:51 -0000 1.156
+++ netinet6//ip6_input.c 11 Apr 2016 11:14:54 -0000
@@ -416,9 +416,7 @@ ip6_input(struct mbuf *m)
goto hbhcheck;
}
-#if NPF > 0
rtableid = m->m_pkthdr.ph_rtableid;
-#endif
/*
* Unicast check