Author: kmacy
Date: Wed May 12 03:29:11 2010
New Revision: 207949
URL: http://svn.freebsd.org/changeset/base/207949

Log:
  try working around panic by validating rt and lle
  
  MFC after:    3 days

Modified:
  head/sys/netinet6/ip6_output.c

Modified: head/sys/netinet6/ip6_output.c
==============================================================================
--- head/sys/netinet6/ip6_output.c      Wed May 12 02:00:11 2010        
(r207948)
+++ head/sys/netinet6/ip6_output.c      Wed May 12 03:29:11 2010        
(r207949)
@@ -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 
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to