NetBSD-Bugs archive

[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

>Number:         44423
>Category:       kern
>Synopsis:       ALTQ uses own option for IPSEC - should use IPSEC and/or 
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>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
Architecture: x86_64
Machine: 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

        in /usr/src/sys/altq/altq_subr.c
        line 912 and line 936
        -- #ifdef ALTQ_IPSEC
        ++ #if defined(IPSEC) || defined(FAST_IPSEC)
        in /usr/src/sys/altq/files.altq
        line 6
        --                                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, 


Home | Main Index | Thread Index | Old Index