[PATCH] eal/bsd: fix spinlock not unlock in alarm callback

Thomas Monjalon thomas at monjalon.net
Sun Feb 19 23:27:13 CET 2023


16/02/2023 10:22, Bruce Richardson:
> On Thu, Feb 16, 2023 at 09:28:17AM +0800, fengchengwen wrote:
> > add cc maintainer
> > 
> > On 2023/2/13 20:44, Chengwen Feng wrote:
> > > The spinlock should unlock when clock_gettime() failed. This patch
> > > fixes it by invoking clock_gettime() before lock.
> > > 
> > > Fixes: 26021a715067 ("eal/bsd: support alarm API")
> > > Cc: stable at dpdk.org
> > > 
> > > Signed-off-by: Chengwen Feng <fengchengwen at huawei.com>
> 
> Acked-by: Bruce Richardson <bruce.richardson at intel.com>

Applied, thanks.





More information about the dev mailing list