From owner-cvs-all@FreeBSD.ORG Wed Nov 12 16:32:14 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B02316A4CE; Wed, 12 Nov 2003 16:32:14 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7D2543FD7; Wed, 12 Nov 2003 16:32:13 -0800 (PST) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAD0WDXJ035130; Wed, 12 Nov 2003 16:32:13 -0800 (PST) (envelope-from andre@repoman.freebsd.org) Received: (from andre@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAD0WDKK035129; Wed, 12 Nov 2003 16:32:13 -0800 (PST) (envelope-from andre) Message-Id: <200311130032.hAD0WDKK035129@repoman.freebsd.org> From: Andre Oppermann Date: Wed, 12 Nov 2003 16:32:13 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet ip_icmp.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2003 00:32:14 -0000 andre 2003/11/12 16:32:13 PST FreeBSD src repository Modified files: sys/netinet ip_icmp.c Log: Move global variables for icmp_input() to its stack. With SMP or preemption two CPUs can be in the same function at the same time and clobber each others variables. Remove register declaration from local variables. Reviewed by: sam (mentor) Revision Changes Path 1.82 +18 -10 src/sys/netinet/ip_icmp.c