From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v1 0/2] l2fwd-keepalive: Termination cleanup Date: Mon, 01 May 2017 16:42:20 +0200 Message-ID: <4500274.9XZdljvTaG@xps> References: <1493296626-28128-1-git-send-email-remy.horton@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, John McNamara To: Remy Horton Return-path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 6DFFF374E for ; Mon, 1 May 2017 16:42:23 +0200 (CEST) In-Reply-To: <1493296626-28128-1-git-send-email-remy.horton@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 27/04/2017 14:37, Remy Horton: > The l2fwd-keepalive example has infinite processing loops and as a > result the only way to exit it is via SIGINT/SIGTERM (e.g. Control-C). > The resulting shutdown is unclean, in particular leaving stale shared > host memory handles. This is fixed by adding a signal handler that > causes the processing loops to break, and adding cleanup code to remove > the stale handles. > > Remy Horton (2): > examples/l2fwd-keepalive: add graceful exit > examples/l2fwd-keepalive: add SHM cleanup on exit Applied, thanks