Date: Wed, 12 Nov 2003 16:32:13 -0800 (PST) From: Andre Oppermann <andre@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet ip_icmp.c Message-ID: <200311130032.hAD0WDKK035129@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311130032.hAD0WDKK035129>
