Closed ocochard closed 5 years ago
Problem was identified by melifaro@FreeBSD.org: It's the kernel "options RADIX_MPATH" (multipath routing). A new version without this option will be released.
RADIX_MPATH kernel's option removed since BSDRP 1.93 (2019/05/30).
2 users report this problem:
So, if I understood correctly, the intersting part is here:
So function rtrequest1_fib called rt_notifydelete with a rt=0x0 (NULL) and this triggered the panic. But this should not be possible, because the rtrequest1_fib code is this one :
And the if (error !=0) should catch rt_unlinkrte() returning an error (then a NULL pointer). Is this possible than this pointer be changed to NULL (destroyed?) between the RIB_WUNLOCK(rnh) and the rt_notifydelete() call ?
Need to test by upgrading this FreeBSD-stable to r345764 that is fixing some locking.