try working around panic by validating rt and lle

MFC after:	3 days
This commit is contained in:
kmacy 2010-05-12 03:29:11 +00:00
parent 93a5436713
commit f5c26f02f1

View File

@ -486,7 +486,8 @@ skip_ipsec2:;
*/
if ((fle = flowtable_lookup_mbuf(V_ip6_ft, m, AF_INET6)) != NULL) {
flow_to_route_in6(fle, ro);
flevalid = 1;
if (ro->ro_rt != NULL && ro->ro_lle != NULL)
flevalid = 1;
}
}
#endif