NetBSD-Bugs archive

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

Re: kern/44418 (FAST_IPSEC and if_wm kernel panic - may affect the whole network stack)



rmind%netbsd.org@localhost said:
> Not sure what do you mean by "second time"
> [...]
> Recursive locking is
> deliberately prohibited in our mutex(9) implementation
> [...]
> Talking about limited softintr thread context

What I did suspect here is that some kernel code takes softnet_lock
without a splsoftnet() before, and a softnet handler gets to run
and happens to borrow the same thread context. In that case,
the diagnostic check could fire even if the softnet handler
doesn't do anything wrong.
Can this happen?

best regards
Matthias



------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDirig Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index