From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 569DD41BC0 for ; Fri, 3 Feb 2023 20:14:14 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4D7E540DDA; Fri, 3 Feb 2023 20:14:14 +0100 (CET) Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169]) by mails.dpdk.org (Postfix) with ESMTP id B7C624067B for ; Fri, 3 Feb 2023 20:14:13 +0100 (CET) Received: by mail-pg1-f169.google.com with SMTP id a23so4277357pga.13 for ; Fri, 03 Feb 2023 11:14:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=RkkmGT5L0uzsk2SP3GAU548/jYZ6Tn6N08Z5+gleais=; b=gqXx9aD4q3IJEvdCKfVH0Z9gR410FHaLxYp2JHxpcQXo63uhoNAyyel0pug1BIJrPj G6jfKfP3vZ7Z7CYokxJMWveYMPmYaBIC4w/tk3sWV3KjF8DMmZI1armjEdA5gCxDssga KWJwT7FMZnASPC5A7qCW1EVMEVh5GpUcwp5wq+rl+3aTN8jORjYkJIKArJjxUNn7I8/M BGtjRQTaMXnSyWeNv1liklnaFw6nvQyRKgDGZhg/RQ7xb3a4bybs5NkfgNir+SnwRKD5 nHZUVr0Wbfb9/Yu4QujnTFfe1ge8Ei01fYX3uw2aLebhc/ruywkN7CRLZLrnqJa0H7/P jjeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RkkmGT5L0uzsk2SP3GAU548/jYZ6Tn6N08Z5+gleais=; b=fyTq8VOpqniV4xuzEFgq8mIQdauYFwugUKoGsVQI6n4pcb4fvVXF+NKshRY5UPs3/e Ik8ab9J54SymeigAe4FCPjCgnP8vvmn23JexHTejyVy2GF7eqljFCRxCgTcEdwQQyBBS BeweZZ9Hyy9uH5m3jbeMMHEHtRDKZ7INVsyLP9zdkt0+rBjZy2HuPlb58ZHoQEoqLYSG nXWVpEwrpY6TOIlT8lz7Zqx4ktcqk0WKf1/lH73cxP7MFCi0dEqsn3KmYVjMez1cTSWI oxfqY+owaWSa4Ew5Cyrk6vYCQi/kWJNf7Q1vqlj0qSs23ofseJwmQCJD871xhL6y/1mg 7rOg== X-Gm-Message-State: AO0yUKXeWuWYUnXJ8zht+vSE8K9Feb7ZqYIymhm3vybldIdxqmktQLx3 kZaTmEkW2uMHUIcbINp/xCH7KwJEkSYt7IVA/9Ec0A== X-Google-Smtp-Source: AK7set/1ubEB0GvMO+I5YZhjrv/mRN+oUCZC5MjOmW6nvs4r2KjTiWE4PMJPvnKypJ/dX2C5A92ZZg== X-Received: by 2002:aa7:91d2:0:b0:581:1c:82a3 with SMTP id z18-20020aa791d2000000b00581001c82a3mr9815614pfa.1.1675451652839; Fri, 03 Feb 2023 11:14:12 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id l9-20020a056a00140900b00593edee1af6sm2200898pfu.67.2023.02.03.11.14.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Feb 2023 11:14:12 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: stable@dpdk.org, Stephen Hemminger Subject: [PATCH v11 0/3] Fix cmdline_poll and testpmd signal handling Date: Fri, 3 Feb 2023 11:14:06 -0800 Message-Id: <20230203191409.97567-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230130200914.22049-1-stephen@networkplumber.org> References: <20230130200914.22049-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org This patchset keeps uncovering bad practices in the cmdline library around end of file and signal handling. Stephen Hemminger (3): cmdline: make rdline status not private cmdline: handle EOF in cmdline_poll testpmd: cleanup cleanly from signal app/test-pmd/cmdline.c | 29 +++++-------- app/test-pmd/testpmd.c | 77 ++++++++++++++++------------------- app/test-pmd/testpmd.h | 1 + lib/cmdline/cmdline.c | 11 +++-- lib/cmdline/cmdline.h | 6 +++ lib/cmdline/cmdline_private.h | 6 --- 6 files changed, 62 insertions(+), 68 deletions(-) -- 2.39.0