HomeFreeBSD

After crypto_dispatch() bio might be already delivered and destroyed,

Description

After crypto_dispatch() bio might be already delivered and destroyed,
so we cannot access it anymore. Setting an error later lead to memory
corruption.

Assert that crypto_dispatch() was successful. It can fail only if we pass a
bogus crypto request, which is a bug in the program, not a runtime condition.

PR: 199705
Submitted by: luke.tw
Reviewed by: emaste
MFC after: 3 days

Details

Committed
pjdAug 6 2015, 5:13 PM
Reviewer
emaste
Parents
rS286372: Remove some more vestiges of the Xen PV domu support. Specifically,
Branches
Unknown
Tags
Unknown