On 13 Oct 2019, at 8:15, Gleb Smirnoff wrote:
Author: glebius
Date: Sun Oct 13 15:15:09 2019
New Revision: 353467
URL: https://svnweb.freebsd.org/changeset/base/353467

Log:
  vlan_config() isn't always called in epoch context.

  Reported by:  kp

Modified:
  head/sys/net/if_vlan.c

Thanks.

I still see another panic now:

panic: Assertion in_epoch(net_epoch_preempt) failed at /usr/src/sys/net/if.c:3624
        cpuid = 6
        time = 1570986933
        KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0061ea1f30
        vpanic() at vpanic+0x17e/frame 0xfffffe0061ea1f90
        panic() at panic+0x43/frame 0xfffffe0061ea1ff0
        if_delmulti() at if_delmulti+0x154/frame 0xfffffe0061ea2020
        vlan_setmulti() at vlan_setmulti+0xa7/frame 0xfffffe0061ea2070
        vlan_ioctl() at vlan_ioctl+0x82/frame 0xfffffe0061ea20d0
        if_addmulti() at if_addmulti+0x2ae/frame 0xfffffe0061ea2170
in6_joingroup_locked() at in6_joingroup_locked+0x25c/frame 0xfffffe0061ea2230
        in6_joingroup() at in6_joingroup+0x44/frame 0xfffffe0061ea2260
        in6_update_ifa() at in6_update_ifa+0x11c9/frame 0xfffffe0061ea2410
        in6_ifattach() at in6_ifattach+0x5b5/frame 0xfffffe0061ea2590
        in6_if_up() at in6_if_up+0x7e/frame 0xfffffe0061ea25d0
        if_up() at if_up+0x69/frame 0xfffffe0061ea2600
        ifhwioctl() at ifhwioctl+0xc0d/frame 0xfffffe0061ea2680
        ifioctl() at ifioctl+0x3ba/frame 0xfffffe0061ea2750
        kern_ioctl() at kern_ioctl+0x295/frame 0xfffffe0061ea27b0
        sys_ioctl() at sys_ioctl+0x15c/frame 0xfffffe0061ea2880
        amd64_syscall() at amd64_syscall+0x2b5/frame 0xfffffe0061ea29b0
fast_syscall_common() at fast_syscall_common+0x101/frame 0xfffffe0061ea29b0 --- syscall (54, FreeBSD ELF64, sys_ioctl), rip = 0x80047dc2a, rsp = 0x7fffffffe1d8, rbp = 0x7fffffffe230 ---

Best regards,
Kristof
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to