[dpdk-dev] [PATCH] eal: fix tailq init for uio/vfio resources

Thomas Monjalon thomas.monjalon at 6wind.com
Thu Mar 12 08:36:22 CET 2015


2015-03-11 18:25, David Marchand:
> Commit a2348166ea18 ("tailq: move to dynamic tailq") introduced a bug in
> uio/vfio resources list init.
> 
> These resources list were pointed at through a pointer initialised only once but
> too early in the eal init (before tailqs init).
> 
> Fix this by "resolving" this pointer when used (which is well after tailqs
> init).
> 
> Fixes: a2348166ea18 ("tailq: move to dynamic tailq")
> Reported-by: Marvin Liu <yong.liu at intel.com>
> Reported-by: Tetsuya Mukawa <mukawa at igel.co.jp>
> Signed-off-by: David Marchand <david.marchand at 6wind.com>
> ---
> 
> This patch is an alternative to the patch proposed by Marvin.
> It has been tested only on Linux and with uio driver.

Applied, thanks


More information about the dev mailing list