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: sta...@dpdk.org
> Cc: Gaetan Rivet <gaetan.ri...@6wind.com>
> 
> Signed-off-by: Adrien Mazarguil <adrien.mazarg...@6wind.com>
> Cc: Thomas Monjalon <tho...@monjalon.net>
Acked-by: Nelio Laranjeiro <nelio.laranje...@6wind.com>

-- 
Nélio Laranjeiro
6WIND

Reply via email to