Date: Mon, 30 Jan 2017 19:46:45 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 216613] VIMAGE and TCP_RFC7413 panic: CURVNET_SET at /usr/src/sys/netinet/tcp_fastopen.c:270 tcp_fastopen_autokey_callout() curvnet=0 vnet=0 Message-ID: <bug-216613-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216613 Bug ID: 216613 Summary: VIMAGE and TCP_RFC7413 panic: CURVNET_SET at /usr/src/sys/netinet/tcp_fastopen.c:270 tcp_fastopen_autokey_callout() curvnet=0 vnet=0 Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: alex.deiter@gmail.com CC: freebsd-amd64@FreeBSD.org CC: freebsd-amd64@FreeBSD.org Created attachment 179438 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=179438&action=edit kernel config The most recent CURRENT [r312928] with enabled kernel options VIMAGE and TCP_RFC7413 panics spontaneously: (kgdb) where #0 doadump (textdump=0) at pcpu.h:222 #1 0xffffffff803a152b in db_dump (dummy=<value optimized out>, dummy2=<value optimized out>, dummy3=<value optimized out>, dummy4=<value optimized out>) at /usr/src/sys/ddb/db_command.c:546 #2 0xffffffff803a132f in db_command (cmd_table=<value optimized out>) at /usr/src/sys/ddb/db_command.c:453 #3 0xffffffff803a10a4 in db_command_loop () at /usr/src/sys/ddb/db_command.c:506 #4 0xffffffff803a40ff in db_trap (type=<value optimized out>, code=<value optimized out>) at /usr/src/sys/ddb/db_main.c:248 #5 0xffffffff80b171e3 in kdb_trap (type=<value optimized out>, code=<value optimized out>, tf=<value optimized out>) at /usr/src/sys/kern/subr_kdb.c:654 #6 0xffffffff80f77bc9 in trap (frame=0xfffffe0456d9e710) at /usr/src/sys/amd64/amd64/trap.c:537 #7 0xffffffff80f5a971 in calltrap () at /usr/src/sys/amd64/amd64/exception.S:236 #8 0xffffffff80b1690b in kdb_enter (why=0xffffffff814cc5c0 "panic", msg=<value optimized out>) at cpufunc.h:63 #9 0xffffffff80acbd13 in vpanic (fmt=<value optimized out>, ap=0xfffffe0456d9e8a0) at /usr/src/sys/kern/kern_shutdown.c:772 #10 0xffffffff80acbb63 in panic (fmt=<value optimized out>) at /usr/src/sys/kern/kern_shutdown.c:710 #11 0xffffffff80cf945b in tcp_fastopen_autokey_callout (arg=0xfffffe0000d25f10) at /usr/src/sys/netinet/tcp_fastopen.c:270 #12 0xffffffff80ae5f36 in softclock_call_cc (c=<value optimized out>, cc=<value optimized out>, direct=<value optimized out>) at /usr/src/sys/kern/kern_timeout.c:729 #13 0xffffffff80ae64d4 in softclock (arg=<value optimized out>) at /usr/src/sys/kern/kern_timeout.c:867 #14 0xffffffff80a8696f in intr_event_execute_handlers (p=<value optimized out>, ie=<value optimized out>) at /usr/src/sys/kern/kern_intr.c:1262 #15 0xffffffff80a86f76 in ithread_loop (arg=<value optimized out>) at /usr/src/sys/kern/kern_intr.c:1275 #16 0xffffffff80a83545 in fork_exit (callout=0xffffffff80a86eb0 <ithread_loop>, arg=0xfffff80005493040, frame=0xfffffe0456d9eac0) at /usr/src/sys/kern/kern_fork.c:1038 #17 0xffffffff80f5aeae in fork_trampoline () at /usr/src/sys/amd64/amd64/exception.S:611 #18 0x0000000000000000 in ?? () (kgdb) (kgdb) up 11 #11 0xffffffff80cf945b in tcp_fastopen_autokey_callout (arg=0xfffffe0000d25f10) at /usr/src/sys/netinet/tcp_fastopen.c:270 270 CURVNET_SET(ctx->v); (kgdb) (kgdb) list 265 { 266 struct tcp_fastopen_callout *ctx = arg; 267 268 KASSERT(ctx != NULL, ("tcp_fastopen_autokey_callout: arg is NULL")); 269 270 CURVNET_SET(ctx->v); 271 tcp_fastopen_autokey_locked(); 272 callout_reset(&ctx->c, V_tcp_fastopen_autokey * hz, 273 tcp_fastopen_autokey_callout, ctx); 274 CURVNET_RESTORE(); (kgdb) (kgdb) info local saved_vnet = (struct vnet *) 0xffffffff81e64f38 saved_vnet_lpush = 0x0 (kgdb) print *saved_vnet $2 = {vnet_le = {le_next = 0x1, le_prev = 0x0}, vnet_magic_n = 0, vnet_ifcnt = 0, vnet_sockcnt = 0, vnet_state = 0, vnet_data_mem = 0x0, vnet_data_base = 256} (kgdb) Kernel config: GENERIC + VIMAGE and TCP_RFC7413 options -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216613-8>
