Commit 9d3ddf8a authored by Committed by Pavan BalajiBrowse files
Bug-fix in calculating streaming size in GetAccumulate pkt handler.
In this patch, we fix the mistakes in calculating the streaming size in GetAccumulate pkt handler on the target side. The original code has two mistakes here: 1. The original code use the size and extent of the target datatype, which is wrong. Here we should use the size / extent of the basic type in the target datatype. 2. The original code always use the total data size to calculate the current streaming size, which is wrong. Here we should use the current rest data size to calculate. This patch fixes these two issues. Signed-off-by: Pavan Balaji <firstname.lastname@example.org>
Showing with 12 additions and 11 deletions