From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [dpdk-stable] [PATCH] nfp: restore the unlink operation Date: Fri, 18 May 2018 10:48:16 +0100 Message-ID: References: <20180514144658.9671-1-aconole@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Alejandro Lucero , Luca Boccassi , Eelco Chaudron , Yuanhan Liu , dev@dpdk.org To: Aaron Conole , stable@dpdk.org Return-path: In-Reply-To: <20180514144658.9671-1-aconole@redhat.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 5/14/2018 3:46 PM, Aaron Conole wrote: > For the stable versions of DPDK, the NFP driver's NSP user space > driver was modified to account for non-root usage. When that > happened, commit 515933ad8385 ("nfp: allow for non-root user") > inadvertently removed the unlink() call. This patch is for stable tree. Which stable branches are effected? Only 18.02? And a generic stable tree question, is there a easy way to find out which stable versions has a fix? For this example which versions get "nfp: allow for non-root user" fix? > > Fixes: 515933ad8385 ("nfp: allow for non-root user") > Cc: Alejandro Lucero > Cc: Luca Boccassi > Cc: Eelco Chaudron > Cc: Yuanhan Liu > Signed-off-by: Aaron Conole > --- > drivers/net/nfp/nfp_nfpu.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/net/nfp/nfp_nfpu.c b/drivers/net/nfp/nfp_nfpu.c > index ae2e07220..c003640c7 100644 > --- a/drivers/net/nfp/nfp_nfpu.c > +++ b/drivers/net/nfp/nfp_nfpu.c > @@ -121,5 +121,6 @@ nfpu_close(nfpu_desc_t *desc) > close(desc->lock); > > nspu_get_lockfile_path(lockname, sizeof(lockname), desc); > + unlink(lockname); > return 0; > } >