[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/44423: ALTQ uses own option for IPSEC - should use IPSEC and/or FAST_IPSEC
>Synopsis: ALTQ uses own option for IPSEC - should use IPSEC and/or
>Arrival-Date: Thu Jan 20 09:35:00 +0000 2011
>Originator: Dr. W. Stukenbrock
>Release: NetBSD 5.1
Dr. Nagler & Company GmbH
System: NetBSD test-s0 4.0 NetBSD 4.0 (NSW-WS) #0: Tue Aug 17 17:28:09 CEST
2010 wgstuken@test-s0:/usr/src/sys/arch/amd64/compile/NSW-WS amd64
When useing ALTQ and IPSEC or FAST_IPSEC together, the additional
option ALTQ_IPSEC must be defined.
Due to the fact that this option is not present in any kernel config
file, nobody normaly knows
that this one has to be defined too.
It would be better to have only on set of options IPSEC/FAST_IPSEC that
needs to be turned on
in order to have IPSEC-support in all parts of the kernel.
Found be a look into the sources.
remove ALTQ_IPSEC option and replace it with IPSEC and/or FAST_IPSEC
line 912 and line 936
-- #ifdef ALTQ_IPSEC
++ #if defined(IPSEC) || defined(FAST_IPSEC)
-- ALTQ_IPSEC ALTQ_LOCALQ ALTQ_RED
++ ALTQ_LOCALQ ALTQ_RED ALTQ_RIO
This should eleminate ALTQ_IPSEC option. I assume (and I think I'm
right) that "make depend" detects the
dependency of altq_subr.c to IPSEC and FAST_IPSEC correctly.
This description assumes that ALTQ needs the IPSEC-support for both,
IPSEC and FAST_IPSEC
Main Index |
Thread Index |