[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
I am trying to understand the locking strategy used in the following
functions on NetBSD 6:
There are several cases where these functions are called with the
"softnet_lock" mutex locked, and I assumed that this would always be true.
However, I added a KASSERT(mutex_owned(softnet_lock)) call to these
functions, ran a test, and found that there is at least one case where
this assertion fails. Here is the call chain that caused the failure:
So, I am wondering if anyone knows if this is a bug in the kernel (i.e.,
"softnet_lock" should have been locked before calling ip6_output())?
Or, am I not understanding the real locking strategy used by these
Any help is appreciated.
Main Index |
Thread Index |