Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2621219pxb; Sun, 17 Oct 2021 20:45:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzN2T7RTHjrnMf4b1yNM0IXsxj1kk0347A+jl+i/SjNLNHVhLe49irqooaKa6IdWeGwe8i0 X-Received: by 2002:a17:90a:294e:: with SMTP id x14mr1449846pjf.2.1634528720184; Sun, 17 Oct 2021 20:45:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634528720; cv=none; d=google.com; s=arc-20160816; b=arXYtiIoRnjAg9Ex1J3hBdThW6UO/ilgaY8/s401H+WrKvYNpQcPKae83rAGP8UYBn EybHbDIs+IeXa6ixSJ8gVhSWtG7s+tzlRAuWy1tM9a8DO1xmdQjcTkzavLPuncDDibqz rMXkirFjTVP/IElcAwO+1NxnxDabPnXHS7fqed/7AB6S4fUM0JFE1KKb97S93gJea9sf xZMOu7T4AloPMv1C8YHMvuRs1j8VkDUIvMyG1te3YzNqLljpjMrjTSqD1zNlhgvXOuul ZK7VhV6Mg/ij8fVSMJzcJ+wwN5wOMqao5alr39Ht6YZzTO5hprMtBU1EeobJxaux+l+A Ia0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=dFqNJFVsy2D7h6GKfy8JazvFD2oIbLBEOiY/RubRa68=; b=VGhQf0ITN8aNf9sxLmyQQSMK89nL+HVU8VDOWsu3RQ+r3R/qTz8jUQNovRNEje3dVE VlEYRESmme4No4uJxj+e/v3yZi05J2WBvjjdK4ylyuhJ1oQyg8rlbbS/CE8IlY5vIomT idM5fNz/2oKxULWzxnVT15k4nWyKdR+yfi2Y3UHdislmm2xKTtPzwWVOTBhOkga4YHsA cNzFPjp/Yqn+g09N+F6FmxEQVpC1U9ijLGGdrQmP9GN885P9J14SPAKz6KBiKdCs+Q7K x7gg+TdrAaMCIjsKW8Uc1OZmsBZHFw+XJJT8B7lWH8R/xoiPQQ4uEdRpMYsl44aCO4mT dyXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=j20Nxjys; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e4si18975045plo.319.2021.10.17.20.45.07; Sun, 17 Oct 2021 20:45:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=j20Nxjys; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343907AbhJQOtT (ORCPT + 98 others); Sun, 17 Oct 2021 10:49:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238007AbhJQOtS (ORCPT ); Sun, 17 Oct 2021 10:49:18 -0400 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 86203C06161C for ; Sun, 17 Oct 2021 07:47:08 -0700 (PDT) Received: by mail-ed1-x534.google.com with SMTP id g10so60142504edj.1 for ; Sun, 17 Oct 2021 07:47:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=dFqNJFVsy2D7h6GKfy8JazvFD2oIbLBEOiY/RubRa68=; b=j20NxjysulzWzOseqaVPO2JSbqzWx4oePP+UYSEMUaa2SxXOozUaRBcYAE9onpI52u sxMEV+hTUh8BxjZUJvOZHHzAP2HseLy92zraM6IN7IiXI70g7Aqawbv3Wi5ksrigKydR mDZGoJ/8rS7oaEBpt2Q9QcBOBv9tlek+inWcg6Iu3b6Uo5QaLtwiR5iDgtkYgL7l41jc pS+zMmjTY8LhPs2bscmAMMq5+2aEnbU9QmTh0rytU5+QQNAzmY9N5VEN5h65vbT9fij7 Hlj6TJxXylA4XcPU2R2UpHOWLqoxt4Dv1iWyTZl3CcQHZAZV9rDqtXWHHpWtgqIRp0aI uA3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=dFqNJFVsy2D7h6GKfy8JazvFD2oIbLBEOiY/RubRa68=; b=Bmo6Z3l2C9KnqcOSaN7pKX47J5Ri7bxrXLqQ8xq8R7rlyxmXoutxghN+NCaCH0BF7p QdlDkb29OIirIqNspxik2MIx6d6Gbn7smPW7PLD22v3dgIeoaUHd0XPFHfZDPzKKBdcS yhsOxrEBliaOJfp9N7FdQ9KCebyvbG1CigtneO+nfhSMsNHpWjMID/q2CJnOIqAD7etk 4ClQndNLTB4CJvbk9BrlADkP+OTQf78Y/k1A/Yf0pUd7kgYEk4aTtYTGfJ6dPIGolWk6 wDTlEoRMjk7VbOSG9iZXc+ZoBuN4MEPpN7HjGsPcrqb0tfhTxK7R6OYZAlnVM2AT6Sh6 r2Ew== X-Gm-Message-State: AOAM533e8WyCiM44qvIUyYXnB7W950pSxOUEL+/+Y2RJixnzidfYrw2+ d5QPlrZ0UKcdGRWX9nzPUks= X-Received: by 2002:a17:906:4a09:: with SMTP id w9mr22411227eju.419.1634482027145; Sun, 17 Oct 2021 07:47:07 -0700 (PDT) Received: from localhost.localdomain (host-79-47-104-180.retail.telecomitalia.it. [79.47.104.180]) by smtp.gmail.com with ESMTPSA id gt35sm839112ejc.105.2021.10.17.07.47.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Oct 2021 07:47:06 -0700 (PDT) From: "Fabio M. De Francesco" To: Greg Kroah-Hartman , Martin Kaiser Cc: Larry Finger , Phillip Potter , Michael Straube , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Martin Kaiser Subject: Re: [PATCH 3/3] staging: r8188eu: don't accept SIGTERM for cmd thread Date: Sun, 17 Oct 2021 16:47:04 +0200 Message-ID: <1638491.UCx7rxsUkF@localhost.localdomain> In-Reply-To: <20211016181343.3686-4-martin@kaiser.cx> References: <20211016181343.3686-1-martin@kaiser.cx> <20211016181343.3686-4-martin@kaiser.cx> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Saturday, October 16, 2021 8:13:43 PM CEST Martin Kaiser wrote: > At the moment, our command thread can be killed by user space. > > [root@host ]# kill `pidof RTW_CMD_THREAD` > > The driver will then stop working until the module is unloaded > and reloaded. > > Don't process SIGTERM in the command thread. Other drivers that have a > command thread don't process SIGTERM either. > > Signed-off-by: Martin Kaiser > --- > drivers/staging/r8188eu/core/rtw_cmd.c | 2 -- > drivers/staging/r8188eu/include/osdep_service.h | 5 ----- > 2 files changed, 7 deletions(-) Dear Martin, After thinking a little more about this topic, now I'm ready for... Acked-by: Fabio M. De Francesco Regards, Fabio