NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/39007: Missing ifdef INET6 in pf_ioctl.c



>Number:         39007
>Category:       kern
>Synopsis:       pf_ioctl.c always declares pfil6_wrapper, even if no IPv6 is 
>used
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 21 16:20:00 +0000 2008
>Originator:     Scott Ellis
>Release:        NetBSD 4.99.66
>Organization:
        
>Environment:
        
        
System: NetBSD intrepid 4.99.66 NetBSD 4.99.66 (INTREPID.P5W) #0: Sat Jun 21 
08:40:53 PDT 2008 
scotte@intrepid:/nbu/source/netbsd/src/obj.amd64/nbu/source/netbsd/src/sys/arch/amd64/compile/INTREPID.P5W
 amd64
Architecture: x86_64
Machine: amd64
>Description:
        
With the update of PF to 4.2, building kernels that include PF, but not IPv6
fails, because pfil6_wrapper() is defined but not used in 
sys/dist/pf/net/pf_ioctl.c .

>How-To-Repeat:
        
Build kernel w/o IPv6, but with PF
>Fix:
        
Wrap function prototype in #ifdef

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index