Port-i386 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: NET4501 w/options IPSEC breaks ipv6 at compile time?
On Mon, 18 Jun 2012, Greg Troxel wrote:
I would read the code where the complaint is and see what's going on.
The line the compiler references is an automatic structure-pointer
declaration inside the opening brace of an "else" clause. It does
not appear as an lvalue in that block, but is deferenced several times,
so the compiler complains.
The content of the pointer (the address of a "struct ip6_frag") is
initialized by a call to "ip6_insertfraghdr()" whose last argument is
a "struct ip6_frag **". The call rightly occurs before the first
use of "ip6f".
I see nothing related to any *IPSEC conditionals that would affect
the code organization related to the compiler's complaint.
So, I guess why does it complain compiling NET4501 but not when compiling
a GENERIC-based kernel with IPSEC* options enabled?
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
Home |
Main Index |
Thread Index |
Old Index