changeset 13077:5025f7554e44

6975642 Dell Dimension 8250 systems randomly panic when fast rebooted in snv_146
author Kacheong Poon <Kacheong.Poon@Sun.COM>
date Tue, 10 Aug 2010 19:37:15 -0700
parents c6f4287974e0
children 6cb0e0fdae86
files usr/src/uts/common/inet/ip/ip.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/common/inet/ip/ip.c	Wed Aug 11 09:31:17 2010 +0800
+++ b/usr/src/uts/common/inet/ip/ip.c	Tue Aug 10 19:37:15 2010 -0700
@@ -15163,13 +15163,13 @@
 	netstack_t *ns;
 
 	ASSERT(MUTEX_HELD(&cpu_lock));
-	cpu_seqid = cpu[id]->cpu_seqid;
 
 	switch (what) {
 	case CPU_CONFIG:
 	case CPU_ON:
 	case CPU_INIT:
 	case CPU_CPUPART_IN:
+		cpu_seqid = cpu[id]->cpu_seqid;
 		netstack_next_init(&nh);
 		while ((ns = netstack_next(&nh)) != NULL) {
 			tcp_stack_cpu_add(ns->netstack_tcp, cpu_seqid);