diff options
author | darrenr <darrenr@FreeBSD.org> | 2004-06-22 05:20:30 +0000 |
---|---|---|
committer | darrenr <darrenr@FreeBSD.org> | 2004-06-22 05:20:30 +0000 |
commit | 2d6cb6a6f582f180b9cc551c1ec3f8063988a537 (patch) | |
tree | d1285879c74995d2e1ec439c9dc5cee5aeb46815 /sys/contrib | |
parent | 3194e9d6270349a10a7bfd3b5c1fa90f6c674066 (diff) | |
download | FreeBSD-src-2d6cb6a6f582f180b9cc551c1ec3f8063988a537.zip FreeBSD-src-2d6cb6a6f582f180b9cc551c1ec3f8063988a537.tar.gz |
revert section of code that calls netisr_queue() to match v1.33 of this file
Diffstat (limited to 'sys/contrib')
-rw-r--r-- | sys/contrib/ipfilter/netinet/ip_auth.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/sys/contrib/ipfilter/netinet/ip_auth.c b/sys/contrib/ipfilter/netinet/ip_auth.c index c2306dc..a32c74b 100644 --- a/sys/contrib/ipfilter/netinet/ip_auth.c +++ b/sys/contrib/ipfilter/netinet/ip_auth.c @@ -445,22 +445,8 @@ fr_authioctlloop: # if SOLARIS error = (fr_qin(fra->fra_q, m) == 0) ? EINVAL : 0; # else /* SOLARIS */ -# if __FreeBSD_version >= 501104 - if (! netisr_dispatch(NETISR_IP, m)) + if (! netisr_queue(NETISR_IP, m)) error = ENOBUFS; -# else - ifq = &ipintrq; - if (IF_QFULL(ifq)) { - IF_DROP(ifq); - m_freem(m); - error = ENOBUFS; - } else { - IF_ENQUEUE(ifq, m); -# if IRIX < 605 - schednetisr(NETISR_IP); -# endif - } -# endif # endif /* SOLARIS */ if (error) fr_authstats.fas_quefail++; |