changeset 12663:e9e245236783

6962690 ping as with non-standard /etc/sock2path and reduced privileges causes panic
author Erik Nordmark <Erik.Nordmark@Sun.COM>
date Mon, 21 Jun 2010 13:09:13 -0700
parents b0fe99c06d14
children e99ff77936bd
files usr/src/uts/common/inet/ip/icmp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/common/inet/ip/icmp.c	Mon Jun 21 13:48:11 2010 -0600
+++ b/usr/src/uts/common/inet/ip/icmp.c	Mon Jun 21 13:09:13 2010 -0700
@@ -1591,7 +1591,7 @@
 	connp = rawip_do_open(family, credp, &error, KM_SLEEP);
 	if (connp == NULL) {
 		ASSERT(error != 0);
-		inet_minor_free(ip_minor_arena_sa, connp->conn_dev);
+		inet_minor_free(ip_minor_arena_sa, conn_dev);
 		return (error);
 	}