Wei Wang <wei.w.w...@intel.com> wrote:
> The p->flags could be updated via the send_prepare callback, e.g. OR-ed
> with MULTIFD_FLAG_ZLIB via zlib_send_prepare. Assign p->flags to the
> local "flags" before the send_prepare callback could only get partial of
> p->flags. Fix it by moving the assignment of p->flags to the local flags
> after the callback, so that the correct flags can be traced.
>
> Fixes: ab7cbb0b9a3b ("multifd: Make no compression operations into its own 
> structure")
> Signed-off-by: Wei Wang <wei.w.w...@intel.com>


Reviewed-by: Juan Quintela <quint...@redhat.com>

Good catch.  Thanks.
queued.


Reply via email to