aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib
diff options
context:
space:
mode:
authorJonathan Lemon <jlemon@FreeBSD.org>2003-03-04 23:19:55 +0000
committerJonathan Lemon <jlemon@FreeBSD.org>2003-03-04 23:19:55 +0000
commit1cafed3941f1a4e9d2beb4fb126e91018505dfd4 (patch)
treef304f726e8973253d3e8a87e56119fec0276a61c /sys/contrib
parentc141c242ac0a55a34b58cf2b06d13964d00507a4 (diff)
downloadsrc-1cafed3941f1a4e9d2beb4fb126e91018505dfd4.tar.gz
src-1cafed3941f1a4e9d2beb4fb126e91018505dfd4.zip
Update netisr handling; Each SWI now registers its queue, and all queue
drain routines are done by swi_net, which allows for better queue control at some future point. Packets may also be directly dispatched to a netisr instead of queued, this may be of interest at some installations, but currently defaults to off. Reviewed by: hsu, silby, jayanth, sam Sponsored by: DARPA, NAI Labs
Notes
Notes: svn path=/head/; revision=111888
Diffstat (limited to 'sys/contrib')
-rw-r--r--sys/contrib/ipfilter/netinet/ip_auth.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/contrib/ipfilter/netinet/ip_auth.c b/sys/contrib/ipfilter/netinet/ip_auth.c
index b7e66ffcdacb..800f39272155 100644
--- a/sys/contrib/ipfilter/netinet/ip_auth.c
+++ b/sys/contrib/ipfilter/netinet/ip_auth.c
@@ -442,10 +442,8 @@ fr_authioctlloop:
# if SOLARIS
error = (fr_qin(fra->fra_q, m) == 0) ? EINVAL : 0;
# else /* SOLARIS */
- if (! IF_HANDOFF(&ipintrq, m, NULL))
+ if (! netisr_queue(NETISR_IP, m))
error = ENOBUFS;
- else
- schednetisr(NETISR_IP);
# endif /* SOLARIS */
if (error)
fr_authstats.fas_quefail++;