summaryrefslogtreecommitdiffstats
path: root/sys/alpha
diff options
context:
space:
mode:
authorrik <rik@FreeBSD.org>2005-09-27 16:57:44 +0000
committerrik <rik@FreeBSD.org>2005-09-27 16:57:44 +0000
commitaa790ae8700e7fed7ef83f2549c6bc53d6ae7f8f (patch)
tree8cdae507cb4db630749f512fed7b7da9a9611439 /sys/alpha
parent332a994af0394ebb13aaf28c43c8ee56ea7b75aa (diff)
downloadFreeBSD-src-aa790ae8700e7fed7ef83f2549c6bc53d6ae7f8f.zip
FreeBSD-src-aa790ae8700e7fed7ef83f2549c6bc53d6ae7f8f.tar.gz
Restore if_cp.c 1.27
---------------------------- revision 1.27 date: 2005/09/19 03:10:16; author: imp; state: Exp; lines: +3 -2 Make sure that we call if_free(ifp) after bus_teardown_intr. Since we could get an interrupt after we free the ifp, and the interrupt handler depended on the ifp being still alive, this could, in theory, cause a crash. Eliminate this possibility by moving the if_free to after the bus_teardown_intr() call. In fact, this change do nothing for this driver. It is protected from this by cp_destroy variable. This variable also protects driver from initiation of any activity from network stack with disabled intr handler with this change applied.
Diffstat (limited to 'sys/alpha')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud