[PATCH] pipeline: fix emit instruction for invalid headers
    Thomas Monjalon 
    thomas at monjalon.net
       
    Wed Jun  1 13:55:21 CEST 2022
    
    
  
27/04/2022 23:56, Cristian Dumitrescu:
> Fix the emit instruction for the pathological case of all headers to
> be emitted being invalid. In this case, the for loop was essentially
> skipped and the last emitted header (or an invalid memory location)
> getting corrupted by setting its size to 0 through the assignment to
> ho->n_bytes right after the for loop.
> 
> Fixes: d60dbdc88a3e ("pipeline: create inline functions for emit instruction")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu at intel.com>
> Signed-off-by: Venkata Suresh Kumar P <venkata.suresh.kumar.p at intel.com>
> Signed-off-by: Yogesh Jangra <yogesh.jangra at intel.com>
Applied, thanks.
    
    
More information about the stable
mailing list