megasas: do not read iovec count more than once from frame
Avoid TOC-TOU bugs depending on how the compiler behaves.
Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
Showing
Avoid TOC-TOU bugs depending on how the compiler behaves.
Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>