On Mon, Apr 16, 2018 at 06:22:03PM +0200, Adrien Mazarguil wrote:
> The rss_conf field is defined as a pointer to struct rte_eth_rss_conf.
> 
> Even assuming it is permanently allocated and a pointer copy is safe,
> pointed data may change and not reflect an applied flow rule anymore.
> 
> This patch aligns with testpmd by making a deep copy instead.
> 
> Fixes: 18da437b5f63 ("ethdev: add flow rule copy function")
> Cc: [email protected]
> Cc: Gaetan Rivet <[email protected]>
> 
> Signed-off-by: Adrien Mazarguil <[email protected]>
> Cc: Thomas Monjalon <[email protected]>
Acked-by: Nelio Laranjeiro <[email protected]>

-- 
Nélio Laranjeiro
6WIND

Reply via email to