From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by dpdk.org (Postfix) with ESMTP id 6C6E631FC for ; Tue, 22 May 2018 15:15:34 +0200 (CEST) Received: by mail-wm0-f66.google.com with SMTP id j4-v6so31885521wme.1 for ; Tue, 22 May 2018 06:15:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=5exfMi5Q2Jv+qsiUNmrLu1yd8tBF0jTvrrYPKXAC3Fw=; b=d90DMzrEkoWi27BPK09uI2hWIguDKtTvrOJWF5fMiRJsdYeJb3MRsyFG7zTUTJoRDu Smf42WNT12EkmFonyIfkE4NjZxBIlYr8dH1djXDFHCUS1sUmNOESvsC9KI06YIDaMNFl hU6sAZamOLWHKoquiObU0khoCn4BIuzBP8d7Qo/lou2nX0HXjKeos3NCqdZusanHdxUw oK3kl2HOyveHUTMSednIo24kAurPHIcO5VJa7IfsyZXAY+164nHSwMXi43XNfgi073EY kvYdTdiU8WSHEkW+hoarB5Q/AG/8Eb4lQ45M4h09FYmsMnY7CfbNbMJSnXwiB4T2Gfo5 LaIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=5exfMi5Q2Jv+qsiUNmrLu1yd8tBF0jTvrrYPKXAC3Fw=; b=oJDHPrGFt4JEBlFj1uqv0/PSTLObz5WhD97lrTmDEfpovhVaC9Hcw9tHoI/XuUzGL4 IxUc3WsRsmSlmo0OatZYlXp6GK4LojsH8POur1GiTi1XwDrf9G7UtzIlIz+cr4j4ydMk deHRXfCaADHuquhrI3PzmblWCyWATNR+lPvO+UUHSOacHkAVVk1ukUVFzeYFx/Wryq85 fBRi3UTjWFvWTh3zW/ItL7rfm1GhBxSIMK+6t1pMYeTbgFQty5igN21lNWX3Ij7kAypw xIHH49Q/Sj44I/I48rz6cMqjosgZJeCIpUr2Nj/CHLXsX4lTHaRuyGMiTmq8lqIkT8GF tj+g== X-Gm-Message-State: ALKqPwc7u2cSbKhSXPA6PapVWg0yl7pwtmJck7m1Omh38dk4RHnwORwA 3EjXE/WHGYjk+vA0ohtLqUfgVg== X-Google-Smtp-Source: AB8JxZppj/EDBePJa8aKAWwuUCyoOWWHWSHOjgX6sNQHC16mRKPLr2XEIIg/QSsyxsFcGxOZs0DNPw== X-Received: by 2002:a1c:4406:: with SMTP id r6-v6mr1084376wma.99.1526994934142; Tue, 22 May 2018 06:15:34 -0700 (PDT) Received: from bidouze.vm.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id z66-v6sm16738166wme.13.2018.05.22.06.15.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 22 May 2018 06:15:33 -0700 (PDT) Date: Tue, 22 May 2018 15:15:18 +0200 From: =?iso-8859-1?Q?Ga=EBtan?= Rivet To: Matan Azrad Cc: dev@dpdk.org, Ophir Munk , stable@dpdk.org Message-ID: <20180522131518.gb7e7vewtgyln2pk@bidouze.vm.6wind.com> References: <1526932084-1120-1-git-send-email-matan@mellanox.com> <1526992727-10459-1-git-send-email-matan@mellanox.com> <1526992727-10459-2-git-send-email-matan@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1526992727-10459-2-git-send-email-matan@mellanox.com> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [dpdk-dev] [PATCH v3 2/2] net/failsafe: fix duplicate event registration X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 May 2018 13:15:34 -0000 On Tue, May 22, 2018 at 12:38:47PM +0000, Matan Azrad wrote: > When the fail-safe device is reconfigured, it attempts to register > again for the sub-devices LSC and RMV events. > > Prevent an event registration if it is already done. > > Fixes: 598fb8aec6f6 ("net/failsafe: support device removal") > Cc: stable@dpdk.org > > Signed-off-by: Matan Azrad Acked-by: Gaetan Rivet -- Gaëtan Rivet 6WIND