[dpdk-dev] [PATCH v4] net/virtio: fix wrong variable assignment in helper macro

Andrew Rybchenko arybchenko at solarflare.com
Thu Sep 17 17:54:36 CEST 2020


On 9/16/20 8:57 AM, Vipul Ashri wrote:
> Inside Macro ASSIGN_UNLESS_EQUAL(var, val), assignment to var is always
> failing as assignment done using var_ having local scope only.
> This leads to TX packets not going out and found broken due to cleanup
> malfunctioning. This patch fixes the wrong variable assignment.
> 
> Fixes: 57f90f894588 ("net/virtio: reuse packed ring functions")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Vipul Ashri <vipul.ashri at oracle.com>

Acked-by: Andrew Rybchenko <arybchenko at solarflare.com>



More information about the dev mailing list