summaryrefslogtreecommitdiffstats
path: root/sys/netatalk/ddp_pcb.c
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2003-11-08 22:28:40 +0000
committersam <sam@FreeBSD.org>2003-11-08 22:28:40 +0000
commit7f3b205cb834636e3bbf0bb354cccd5c98ee1db4 (patch)
tree2ce18b56605a2424ffb613d7f2ee4678a34df3a4 /sys/netatalk/ddp_pcb.c
parentdb66506d6cab556d613d20d13ef3403ca934395c (diff)
downloadFreeBSD-src-7f3b205cb834636e3bbf0bb354cccd5c98ee1db4.zip
FreeBSD-src-7f3b205cb834636e3bbf0bb354cccd5c98ee1db4.tar.gz
o add a flags parameter to netisr_register that is used to specify
whether or not the isr needs to hold Giant when running; Giant-less operation is also controlled by the setting of debug_mpsafenet o mark all netisr's except NETISR_IP as needing Giant o add a GIANT_REQUIRED assertion to the top of netisr's that need Giant o pickup Giant (when debug_mpsafenet is 1) inside ip_input before calling up with a packet o change netisr handling so swi_net runs w/o Giant; instead we grab Giant before invoking handlers based on whether the handler needs Giant o change netisr handling so that netisr's that are marked MPSAFE may have multiple instances active at a time o add netisr statistics for packets dropped because the isr is inactive Supported by: FreeBSD Foundation
Diffstat (limited to 'sys/netatalk/ddp_pcb.c')
-rw-r--r--sys/netatalk/ddp_pcb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netatalk/ddp_pcb.c b/sys/netatalk/ddp_pcb.c
index cf7b35b..69b8958 100644
--- a/sys/netatalk/ddp_pcb.c
+++ b/sys/netatalk/ddp_pcb.c
@@ -553,9 +553,9 @@ ddp_init(void)
mtx_init(&atintrq1.ifq_mtx, "at1_inq", NULL, MTX_DEF);
mtx_init(&atintrq2.ifq_mtx, "at2_inq", NULL, MTX_DEF);
mtx_init(&aarpintrq.ifq_mtx, "aarp_inq", NULL, MTX_DEF);
- netisr_register(NETISR_ATALK1, at1intr, &atintrq1);
- netisr_register(NETISR_ATALK2, at2intr, &atintrq2);
- netisr_register(NETISR_AARP, aarpintr, &aarpintrq);
+ netisr_register(NETISR_ATALK1, at1intr, &atintrq1, 0);
+ netisr_register(NETISR_ATALK2, at2intr, &atintrq2, 0);
+ netisr_register(NETISR_AARP, aarpintr, &aarpintrq, 0);
}
#if 0
OpenPOWER on IntegriCloud