Created attachment 210416 [details]
Pass result to key_sendup_mbuf instead of m
The method key_spdacquire pass the parameter "m" to key_sendup_mbuf, or this parameter is always NULL (due to the for loop above).
It should pass the mbuf "result instead"
I think the patch is correct. However this part of code is unused, this is why it has never triggered the assertion. SPDACQUIRE message was not implemented and it is not hooked to the key_typesw.
(In reply to Masse Nicolas from comment #0)
How did you notice the problem?