NetBSD-Bugs archive

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

port-atari/46640: Uninitialized variable on line 995 of /sys/netinet6/ip6_output.c breaks build



>Number:         46640
>Category:       port-atari
>Synopsis:       Uninitialized variable on line 995 of 
>/sys/netinet6/ip6_output.c breaks build
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-atari-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 30 05:45:00 +0000 2012
>Originator:     David Ross
>Release:        6 BETA2
>Organization:
>Environment:
NetBSD nb6beta.beefdom.local 6.0_BETA2 NetBSD 6.0_BETA2 (GENERIC) i386
>Description:
Title pretty much says it all...  There's an uninitialized variable on line 995 
of /sys/netinet6/ip6_output.c and it breaks a kernel build.  

A quick change to:
struct ip6_frag *ip6f = 0;
...gets things going again.
>How-To-Repeat:
Compile the Atari kernel with:
options IPSEC
options IPSEC_ESP
options IPSEC_NAT_T

...and that should be sufficient to reproduce the issue.
>Fix:
See above.



Home | Main Index | Thread Index | Old Index