try working around panic by validating rt and lle

MFC after:	3 days
This commit is contained in:
Kip Macy 2010-05-12 03:29:11 +00:00
parent 346bfbfcce
commit 1f93b77267
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=207949

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