changeset 10562:f819c4cb8a82

6868967 panic: ip_fast_forward+0xc9(ffffff02e8b9a038, b8012c0, ffffff02d9457ca8, ffffff02d8b15a00)
author Thirumalai Srinivasan <Thirumalai.Srinivasan@Sun.COM>
date Wed, 16 Sep 2009 13:55:02 -0700
parents bf86b7e90c69
children 2e711bc83952
files usr/src/uts/common/inet/ip/ip.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/common/inet/ip/ip.c	Wed Sep 16 12:47:45 2009 -0700
+++ b/usr/src/uts/common/inet/ip/ip.c	Wed Sep 16 13:55:02 2009 -0700
@@ -13947,8 +13947,8 @@
 		 * ire_cache_lookup() can return ire of IRE_LOCAL in
 		 * transient cases. In such case, just drop the packet
 		 */
-		if (ire->ire_type != IRE_CACHE)
-			goto drop;
+		if (ire != NULL && ire->ire_type != IRE_CACHE)
+			goto indiscard;
 	}
 
 	/*