Subject: Re: Ipsec and IPV6 panics
To: None <current-users@netbsd.org>
From: Mario Kemper <magick@zhadum.de>
List: current-users
Date: 09/20/2003 10:49:10
"Thomas Hertz" <thomas@hz.se> writes:

> The last few days I've experienced several kernel panics when trying to
> use IPv6 while IPSec is active.
>
> panic: ipsec_hdrsiz: Invalid policy found. -1059880796
>
> This is what gdb gives me on a backtrace:
>
> #9  0xc023ba4c in panic ()
> #10 0xc0153df4 in ipsec_hdrsiz ()
> #11 0xc0153fc9 in ipsec6_hdrsiz ()
> #12 0xc011b284 in ipsec6_hdrsiz_tcp ()
> #13 0xc0117de1 in tcp_output ()
> #14 0xc011bf9f in tcp_usrreq ()
> #15 0xc024d665 in soconnect ()
> #16 0xc0250d56 in sys_connect ()
> #17 0xc029f96f in syscall_plain ()
> #18 0xc0100a6c in syscall1 ()
>
I also get panics when using ipsec. I donn't use ipv6 but its enabled in
the kernel. When i enable ipsec (a small vpn-tunnel) in rc.conf so that 
its started at boot time then i get the panic. When i enable it
after booting, it seems to work stable. There is a problem for some days
now.

-- 
Mario Kemper
magick@zhadum.de