[Bug 204437] 10.2 STABLE Crashing with IPSec Support
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Nov 12 18:34:22 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204437
Andrey V. Elsukov <ae at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ae at FreeBSD.org
--- Comment #2 from Andrey V. Elsukov <ae at FreeBSD.org> ---
(In reply to Cassiano Peixoto from comment #0)
> Fatal trap 12: page fault while in kernel mode
> cpuid = 4; apic id = 32
> fault virtual address = 0x0
> fault code = supervisor read data, page not present
> instruction pointer = 0x20:0xffffffff80ac9cbe
...
> #6 0xffffffff80d2e8c2 at calltrap+0x8
> #7 0xffffffff80acaa7a at ipsec4_in_reject+0x2a
> #8 0xffffffff80a73b3b at tcp_input+0x89b
> #9 0xffffffff80a0484b at ip_input+0xab
...
> (kgdb) list *0xffffffff80ac9cbe
> 0xffffffff80ac9cbe is in ipsec_getpolicybysock
> (/usr/src/sys/netipsec/ipsec.c:502).
> 497 IPSEC_ASSERT(inp != NULL, ("null inp"));
> 498 IPSEC_ASSERT(inp->inp_sp != NULL, ("null inp_sp"));
> 499 IPSEC_ASSERT(inp->inp_sp->sp_out != NULL && inp->inp_sp->sp_in != NULL,
> 500 ("null sp_in || sp_out"));
> 501
> 502 error = ipsec_setspidx(m, &inp->inp_sp->sp_in->spidx, 1);
It looks like inp->inp_sp is NULL here. Can you show output of following
commands:
(kgdb) f 7
(kgdb) p *inp
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-net
mailing list