Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Sep 2017 10:15:36 +0000
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
Message-ID:  <bug-222680-8-4mTZL5w1DJ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-222680-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-222680-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222680

--- Comment #1 from Bhargava Chenna. Marreddy <bhargava.marreddy@broadcom.c=
om> ---
Crash dump Analysis:-

Crash dump analysis:-
(kgdb) bt
#0 doadump (textdump=3D1) at pcpu.h:232
#1 0xffffffff80a6f2f5 in kern_reboot (howto=3D<value optimized out>) at
/usr/src_head_322823/sys/kern/kern_shutdown.c:386
#2 0xffffffff80a6f8e1 in vpanic (fmt=3D<value optimized out>, ap=3D<value o=
ptimized
out>) 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<value optimized out>, m=3D0x0=
) at
/usr/src_head_322823/sys/net/if_ethersubr.c:759
#11 0xffffffff80b75ad9 in vlan_input (ifp=3D<value optimized out>, m=3D<val=
ue
optimized out>) 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<value optimized out>) 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<value optimized out>, m=3D0x0=
) at
/usr/src_head_322823/sys/net/if_ethersubr.c:759
#16 0xffffffff80b7f2b6 in _task_fn_rx (context=3D<value optimized out>) at
/usr/src_head_322823/sys/net/iflib.c:2568
#17 0xffffffff80ab0d39 in gtaskqueue_run_locked (queue=3D<value optimized o=
ut>)
at /usr/src_head_322823/sys/kern/subr_gtaskqueue.c:329
#18 0xffffffff80ab0ac8 in gtaskqueue_thread_loop (arg=3D<value optimized ou=
t>) at
/usr/src_head_322823/sys/kern/subr_gtaskqueue.c:504
#19 0xffffffff80a328c4 in fork_exit (callout=3D0xffffffff80ab0a40
<gtaskqueue_thread_loop>, 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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222680-8-4mTZL5w1DJ>