On Fri, Nov 26, 2021 at 12:09:48PM +0100, Alexander Bluhm wrote:
> On Fri, Nov 26, 2021 at 08:54:51AM +0000, Lucas wrote:
> > panic: kernel diagnostic assertion "!ISSET(rt->rt_flags, RTF_UP)" failed: 
> > file "/usr/src/sys/net/route.c", line 506
> 
> During my performance tests I got the same trace once.
> 
> login: panic: kernel diagnostic assertion "!ISSET(rt->rt_flags, RTF_UP)" 
> failed: file "
> /usr/src/sys/net/route.c", line 506
> Stopped at      db_enter+0x10:  popq    %rbp
>     TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
> *397403  91501      0     0x14000      0x200    0  softnet
> db_enter() at db_enter+0x10
> panic(ffffffff822af53c) at panic+0xbf
> __assert(ffffffff8231ea01,ffffffff822b69c9,1fa,ffffffff82326314) at 
> __assert+0x
> 25
> rtfree(fffffd8746702d98) at rtfree+0x298
> ip6_forward(fffffd80b545e300,fffffd8746702d98,0) at ip6_forward+0x118
> ip6_input_if(ffff8000246b7d58,ffff8000246b7d64,29,0,ffff800000767048) at 
> ip6_in
> put_if+0x80d
> ipv6_input(ffff800000767048,fffffd80b545e300) at ipv6_input+0x39
> ether_input(ffff800000767048,fffffd80b545e300) at ether_input+0x39f
> if_input_process(ffff800000767048,ffff8000246b7e48) at if_input_process+0x6f
> ifiq_process(ffff80000076ac00) at ifiq_process+0x69
> taskq_thread(ffff800000034080) at taskq_thread+0x81
> end trace frame: 0x0, count: 4
> https://www.openbsd.org/ddb.html describes the minimum info required in bug
> reports.  Insufficient info makes it difficult to find and fix bugs.
> ddb{0}> 
> 
> OpenBSD 7.0-current (GENERIC.MP) #cvs : D2021.09.29.00.00.00: Sun Nov 21 
> 08:09:21 CET 2021
>     [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> 
> It happened with a CVS checkout from Sep 29 2021.
> 
> I was running this test command on a Linux box to generate traffic
> for btrace graphs.
> 
>     ssh_perform@lt13_iperf3_-6_-cfdd7:e83e:66bc:0726::36_-P10_-t60
>     linux-openbsd-ipsec-tunnel4-tcp6-ip3fwd-ot31
> 
> The means I have an iked IPv6 through IPv4 IPsec tunnel.  The OpenBSD
> machine that panics is encrypting TCP traffic.
> 
> Console outout:
> http://bluhm.genua.de/perform/results/7.0/2021-11-21T04%3A35%3A50Z/bsdcons-ot31.txt
> 

Guess someone introduced a double rtfree() somewhere.
Only explenation for this panic.

-- 
:wq Claudio

Reply via email to