NetBSD-Bugs archive

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

kern/52290: npf panic with tables

>Number:         52290
>Category:       kern
>Synopsis:       npf panic with tables
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 11 12:30:00 +0000 2017
>Originator:     Michael van Elst
>Release:        NetBSD 7.99.73
System: NetBSD cosmicbunny 7.99.73 NetBSD 7.99.73 (COSMICBUNNY) #39: Tue May 30 01:32:25 CEST 2017 mlelstv@gossam:/home/netbsd-current/obj.evbmips64-eb/home/netbsd-current/src/sys/arch/evbmips/compile/COSMICBUNNY evbmips
Architecture: mips64eb
Machine: evbmips

In npf_cop_table the asssertion:

        KASSERT(npf_iscached(npc, NPC_IP46)); 

fails for

table <badboys> type tree file "/etc/npf.badboys.tbl"

group "external" on $ext_if {
        block in final from <badboys> apply "log"
        block out final to <badboys> apply "log"


Backtrace is:

0xffffffff80039930: cpu_Debugger+4 (63061,fc00,8,ffffffff806195e0) ra ffffffff804434d8 sz 0 
0xffffffff80039930: vpanic+158 (63061,fc00,8,ffffffff806195e0) ra ffffffff80528858 sz 64
0xffffffff80039970: kern_assert+48 (63061,ffffffff80554d30,ffffffff8056d4e0,ffffffff8056d4b0) ra ffffffff803010a0 sz 96 
0xffffffff800399d0: npf_cop_table+e0 (63061,ffffffff80554d30,ffffffff8056d4e0,ffffffff8056d4b0) ra ffffffff804c97fc sz 48 
0xffffffff80039a00: bpf_filter_ext+454 (63061,ffffffff80554d30,ffffffff8056d4e0, ffffffff8056d4b0) ra 0 sz 0
User-level: pid 0.3

panic: kernel diagnostic assertion "npf_iscached(npc, NPC_IP46)" failed:
file "/home/netbsd-current/src/sys/net/npf/npf_bpf.c", line 185 
kernel: breakpoint trap




Home | Main Index | Thread Index | Old Index