NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/49412: npf reload triggers panic



>Number:         49412
>Category:       kern
>Synopsis:       npf reload triggers panic
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 23 19:20:00 +0000 2014
>Originator:     kardel%netbsd.org@localhost
>Release:        NetBSD 7.99.1
>Organization:
	
>Environment:
	
	
System: NetBSD gateway.kardel.name 7.99.1 NetBSD 7.99.1 (GATEWAY) #3: Sun Nov 23 12:22:30 CET 2014 xxx@xxx:/fs/raid1a/src/NetBSD/cur/src/obj.amd64/sys/arch/amd64/compile/GATEWAY amd64
Architecture: x86_64
Machine: amd64
>Description:
	Using /etc/rc.d/npf reload will trigger a panic
gateway# /etc/rc.d/npf reload
Reloading NPF ruleset.
gateway# fatal page fault in supervisor mode
trap type 6 code 0 rip ffffffff813c1702 cs 8 rflags 10202 cr2 ffff800003b75044 ilevel 4 rsp fffffe80439e4bf8
curlwp 0xfffffe807fd11420 pid 0.3 lowest kstack 0xfffffe80439e12c0
panic: trap
cpu0: Begin traceback...
vpanic() at netbsd:vpanic+0x13c
snprintf() at netbsd:snprintf
startlwp() at netbsd:startlwp
alltraps() at netbsd:alltraps+0x9e
npf_packet_handler() at npf:npf_packet_handler+0x1ad
pfil_run_hooks() at netbsd:pfil_run_hooks+0xc4
ip_output() at netbsd:ip_output+0x3ed
ip_forward() at netbsd:ip_forward+0x18c
ipintr() at netbsd:ipintr+0xcb7
softint_dispatch() at netbsd:softint_dispatch+0xd3
DDB lost frame for netbsd:Xsoftintr+0x4f, trying 0xfffffe80439e4ff0
Xsoftintr() at netbsd:Xsoftintr+0x4f
--- interrupt ---
0:
cpu0: End traceback...

>How-To-Repeat:
	Use a -current as of 20141123. Have NPF running and actively filtering. Do an /etc/rc.d/npf reload.
	Watch the panic shortly after the reload
>Fix:

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index