From owner-freebsd-bugs@freebsd.org Fri Sep 29 10:15:36 2017 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9D0E2E2926A for ; Fri, 29 Sep 2017 10:15:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8A803139C for ; Fri, 29 Sep 2017 10:15:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v8TAFavu067288 for ; Fri, 29 Sep 2017 10:15:36 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 222680] bnxt (iflib model): While VLAN TCP Tx is progress, "ifconfig destroy" caused kernel Crash Date: Fri, 29 Sep 2017 10:15:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bhargava.marreddy@broadcom.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Sep 2017 10:15:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222680 --- Comment #1 from Bhargava Chenna. Marreddy --- Crash dump Analysis:- Crash dump analysis:- (kgdb) bt #0 doadump (textdump=3D1) at pcpu.h:232 #1 0xffffffff80a6f2f5 in kern_reboot (howto=3D) at /usr/src_head_322823/sys/kern/kern_shutdown.c:386 #2 0xffffffff80a6f8e1 in vpanic (fmt=3D, ap=3D) at /usr/src_head_322823/sys/kern/kern_shutdown.c:779 #3 0xffffffff80a6f933 in panic (fmt=3D0x0) at /usr/src_head_322823/sys/kern/kern_shutdown.c:710 #4 0xffffffff80eff9b4 in trap_fatal (frame=3D0xfffffe00003f05d0, eva=3D16) = at /usr/src_head_322823/sys/amd64/amd64/trap.c:799 #5 0xffffffff80effbcd in trap_pfault (frame=3D0xfffffe00003f05d0, usermode= =3D0) at /usr/src_head_322823/sys/amd64/amd64/trap.c:656 #6 0xffffffff80eff18c in trap (frame=3D0xfffffe00003f05d0) at /usr/src_head_322823/sys/amd64/amd64/trap.c:420 #7 0xffffffff80edf041 in calltrap () at /usr/src_head_322823/sys/amd64/amd64/exception.S:237 #8 0xffffffff80b6d9c1 in ether_nh_input (m=3D0xfffff8046a82d800) at /usr/src_head_322823/sys/net/if_ethersubr.c:517 #9 0xffffffff80b86740 in netisr_dispatch_src (proto=3D5, source=3D0, m=3D0xfffff8046a82d800) at /usr/src_head_322823/sys/net/netisr.c:1120 #10 0xffffffff80b6d172 in ether_input (ifp=3D, m=3D0x0= ) at /usr/src_head_322823/sys/net/if_ethersubr.c:759 #11 0xffffffff80b75ad9 in vlan_input (ifp=3D, m=3D) at /usr/src_head_322823/sys/net/if_vlan.c:1387 #12 0xffffffff80b6cc1c in ether_demux (ifp=3D0xfffff8022db01800, m=3D0xfffff8046a82d800) at /usr/src_head_322823/sys/net/if_ethersubr.c:803 #13 0xffffffff80b6dc07 in ether_nh_input (m=3D) at /usr/src_head_322823/sys/net/if_ethersubr.c:639 #14 0xffffffff80b86740 in netisr_dispatch_src (proto=3D5, source=3D0, m=3D0xfffff8046a82d800) at /usr/src_head_322823/sys/net/netisr.c:1120 #15 0xffffffff80b6d172 in ether_input (ifp=3D, m=3D0x0= ) at /usr/src_head_322823/sys/net/if_ethersubr.c:759 #16 0xffffffff80b7f2b6 in _task_fn_rx (context=3D) at /usr/src_head_322823/sys/net/iflib.c:2568 #17 0xffffffff80ab0d39 in gtaskqueue_run_locked (queue=3D) at /usr/src_head_322823/sys/kern/subr_gtaskqueue.c:329 #18 0xffffffff80ab0ac8 in gtaskqueue_thread_loop (arg=3D) at /usr/src_head_322823/sys/kern/subr_gtaskqueue.c:504 #19 0xffffffff80a328c4 in fork_exit (callout=3D0xffffffff80ab0a40 , arg=3D0xfffffe0000e39230, frame=3D0xfffffe00003f0= ac0) at /usr/src_head_322823/sys/kern/kern_fork.c:1038 #20 0xffffffff80edf62e in fork_trampoline () at /usr/src_head_322823/sys/amd64/amd64/exception.S:651 #21 0x0000000000000000 in ?? () Current language: auto; currently minimal (kgdb) frame 8 #8 0xffffffff80b6d9c1 in ether_nh_input (m=3D0xfffff8046a82d800) at /usr/src_head_322823/sys/net/if_ethersubr.c:517 517 ETHER_BPF_MTAP(ifp, m); (kgdb) frame 7 Snip from /usr/src_head_322823/sys/net/ethernet.h =3D=3D> /* The ETHER_BPF_MTAP macro should be used by drivers which support hardware offload for VLAN tag processing. It will check the mbuf to see if it has M_VLANTAG set, and if it does, will pass the packet along to ether_vlan_mtap. This function will re-insert VLAN tags for the duration of the tap, so they show up properly for network analyzers. */ {{#define ETHER_BPF_MTAP(_ifp, _m) do Unknown macro: { if (bpf_peers_present((_ifp)->if_bpf)) { \ M_ASSERTVALID(_= m); \ if (((_m)->m_flags & M_VLANTAG) !=3D 0) \ ether_vlan_mtap((_ifp)->if_bpf,= (_m), NULL, 0); \ else \ bpf_mtap((_ifp)->if_bpf, (_m)); \ } } while (0)}} --=20 You are receiving this mail because: You are the assignee for the bug.=