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)



Wolfgang.Stukenbrock%nagler-company.com@localhost said:
> During testing I've got a panic when a CPU tries to get the mutex
> twice.

OK, so I've reversed the locking order.

> And if the spl-level does not lock out network interrupts, this may
> happen. Even it the whole is very small ...

This is still somewhat strange... The mutex is an adaptive one,
which cannot be taken in interrupt handlers at all. Only in
the softint handler. As I understand it, it is also OK for an
adaptive mutex to be attempted to be taken a second time,
even if held by the same CPU (just not by the same thread).
I can only suspect that the panic might be related to the
limited thread context of the softint handler.
If this is the case it would be an unnecessary limitation.

Can you post the exact panic message and traceback,
just to help to understand the issue?

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