diff options
author | Cy Schubert <cy@FreeBSD.org> | 2022-03-25 03:15:49 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2022-09-11 12:37:50 +0000 |
commit | 2bf2dc19224c7c34eae36c00d3757033cb1ca74a (patch) | |
tree | c86e77aa4f31253af7b23e8aa23690b1e8535d86 | |
parent | 98bde38b32add42e75c4e91f0e4a487ada053a46 (diff) | |
download | src-2bf2dc19224c7c34eae36c00d3757033cb1ca74a.tar.gz src-2bf2dc19224c7c34eae36c00d3757033cb1ca74a.zip |
ipfilter: Remove IPL_SELECT
IPL_SELECT was used for HP-UX >= 11.11 only. Remove this de trop code.
(cherry picked from commit 3e81ef62f9dad4bfd4acdca1963a51f9cdadb657)
-rw-r--r-- | sys/netpfil/ipfilter/netinet/ip_log.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sys/netpfil/ipfilter/netinet/ip_log.c b/sys/netpfil/ipfilter/netinet/ip_log.c index 56b2620fc9a2..6e384ac44e83 100644 --- a/sys/netpfil/ipfilter/netinet/ip_log.c +++ b/sys/netpfil/ipfilter/netinet/ip_log.c @@ -109,13 +109,6 @@ #ifdef IPFILTER_LOG -# if defined(IPL_SELECT) -# include <machine/sys/user.h> -# include <sys/kthread_iface.h> -# define READ_COLLISION 0x001 -extern int selwait; -# endif /* IPL_SELECT */ - typedef struct ipf_log_softc_s { ipfmutex_t ipl_mutex[IPL_LOGSIZE]; # if SOLARIS && defined(_KERNEL) @@ -239,10 +232,6 @@ ipf_log_soft_init(ipf_main_softc_t *softc, void *arg) softl->ipll[i] = NULL; softl->iplh[i] = &softl->iplt[i]; bzero((char *)&softl->ipl_crc[i], sizeof(softl->ipl_crc[i])); -# ifdef IPL_SELECT - softl->iplog_ss[i].read_waiter = 0; - softl->iplog_ss[i].state = 0; -# endif } @@ -625,9 +614,6 @@ ipf_log_items(ipf_main_softc_t *softc, int unit, fr_info_t *fin, void **items, POLLWAKEUP(unit); # endif SPL_X(s); -# ifdef IPL_SELECT - iplog_input_ready(unit); -# endif return (0); } |