[Bug 248958] pptpd + vlan panic
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Aug 28 08:15:18 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248958
Bug ID: 248958
Summary: pptpd + vlan panic
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: bugs at FreeBSD.org
Reporter: manu at freebsd.org
Tested on :
FreeBSD 13.0-CURRENT #0 r364846: Thu Aug 27 05:10:55 UTC 2020
root at releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
No modification, just installed from the latest snapshot
(FreeBSD-13.0-CURRENT-amd64-20200827-r364846-memstick.img)
Step to reproduce (No need of a pptp peer) :
root at test:~ # sysrc network_interfaces=ix0
network_interfaces: auto -> ix0
root at test:~ # sysrc cloned_interfaces="vlan666"
cloned_interfaces: -> vlan666
root at test:~ # sysrc ifconfig_ix0="up polling"
ifconfig_ix0: DHCP -> up polling
root at test:~ # sysrc ifconfig_vlan666="vlan 666 vlandev ix0"
ifconfig_vlan666: -> vlan 666 vlandev ix0
root at test:~ # sysrc ppp_enable="YES"
ppp_enable: NO -> YES
root at test:~ # sysrc ppp_mode="ddial"
ppp_mode: auto -> ddial
root at test:~ # sysrc ppp_nat="NO"
ppp_nat: YES -> NO
root at test:~ # sysrc ppp_profile="crash"
ppp_profile: papchap -> crash
root at test:~ # cat >> /etc/ppp/ppp.conf
crash:
set device PPPoE:vlan666
set authname tutu at titi
set authkey zerosec
set dial
set login
set log phase tun command
add default HISADDR
^D
root at test:~ # service netif restart
root at test:~ # service ppp restart
Stopping PPP profile: crash.
Starting PPP profile: crash.
root at test:~ # WARNING: attempt to domain_add(netgraph) after domainfinalize()
panic: Assertion in_epoch(net_epoch_preempt) failed at
/usr/src/sys/net/if_vlan.c:1156
cpuid = 2
time = 1598602352
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0066d41400
vpanic() at vpanic+0x182/frame 0xfffffe0066d41450
panic() at panic+0x43/frame 0xfffffe0066d414b0
vlan_transmit() at vlan_transmit+0x165/frame 0xfffffe0066d41500
ether_output_frame() at ether_output_frame+0xa2/frame 0xfffffe0066d41530
ng_apply_item() at ng_apply_item+0xa8/frame 0xfffffe0066d415b0
ng_snd_item() at ng_snd_item+0x2cf/frame 0xfffffe0066d415f0
ng_pppoe_rcvmsg() at ng_pppoe_rcvmsg+0xc9c/frame 0xfffffe0066d41660
ng_apply_item() at ng_apply_item+0x3e3/frame 0xfffffe0066d416e0
ng_snd_item() at ng_snd_item+0x2cf/frame 0xfffffe0066d41720
ngc_send() at ngc_send+0x19b/frame 0xfffffe0066d417c0
sosend_generic() at sosend_generic+0x49f/frame 0xfffffe0066d41870
sosend() at sosend+0x66/frame 0xfffffe0066d418a0
kern_sendit() at kern_sendit+0x1ec/frame 0xfffffe0066d41930
sendit() at sendit+0x1d8/frame 0xfffffe0066d41980
sys_sendto() at sys_sendto+0x4d/frame 0xfffffe0066d419d0
amd64_syscall() at amd64_syscall+0x140/frame 0xfffffe0066d41af0
fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe0066d41af0
--- syscall (133, FreeBSD ELF64, sys_sendto), rip = 0x8007f291a, rsp =
0x7fffffffd8a8, rbp = 0x7fffffffd8f0 ---
KDB: enter: panic
[ thread pid 2314 tid 100146 ]
Stopped at kdb_enter+0x37: movq $0,0x10b7ad6(%rip)
db>
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list