From patchwork Mon Oct 12 11:15:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Udhayakumar Mahendiran X-Patchwork-Id: 1381022 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=qubercomm.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=0A+rleTH; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=qubercomm.com header.i=@qubercomm.com header.a=rsa-sha256 header.s=google header.b=dLdsHDWf; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4C93P72s9Hz9sSs for ; Tue, 13 Oct 2020 03:03:03 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe :List-Id:MIME-Version:Message-ID:Subject:To:From:Date:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Owner; bh=fB2qoG5Yb7vOxOI+U3kbyk4S2DzzDH9TLIAcWMg7kHA=; b=0A+rleTHHVBg6gnhrYr2/Gv7W6 uVdfE03EW8CIqEi+AUC8GV31oNRzI3lZG4a3BESnzxLJUU3lgzLzGokl5hJnFpZa3eZh6eUCRwvAt rCFs4hZ/Ab65dv7CagqAqkEkHv5RRbp3dFvRcli4smVOA1RVNl36priNi0Qce+qI3vq3NC/t3KLPz xkfwTSzlyDdcJNokoI5sgOMlp5w2X2mPmoxQ/6S8PbgaAgKOW7kE9TbSIsBNMLxyTBtBblLY7oeHl aOX0pfCTcXMmAmT97CVa7VI8Ie5JOUiMMpdrv8q9FDK8za62Fk9YjCc/UHjLu/hUQ03LogdwCrUfM ohTe/Aew==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kS0H8-0006sU-Ak; Mon, 12 Oct 2020 16:02:14 +0000 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kRvns-00069D-DI for hostap@lists.infradead.org; Mon, 12 Oct 2020 11:15:45 +0000 Received: by mail-pf1-x444.google.com with SMTP id 10so3667634pfp.5 for ; Mon, 12 Oct 2020 04:15:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qubercomm.com; s=google; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=qHcP41cAVjGVX6FzlxtkwlHZ+7ea0hTHMDT5vryuJFc=; b=dLdsHDWfAmPPEjM0o8hWPf0tln6m+ZepKQKMOmdgXsYS0nDUCXq87MM27PntcjLRuq M20rj7X/8RA1YLhyH42wuaoeLDnFP1goPI+YmP8iDnIFTgQECXD7Ioh7HmFPtYqrOXLS gxpNzpEjyAmFhr1CUM0jqndcZqLcYc5vxF28M= 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:subject:message-id:mime-version :content-disposition:user-agent; bh=qHcP41cAVjGVX6FzlxtkwlHZ+7ea0hTHMDT5vryuJFc=; b=SEMwNm1JARvfdZ53HFAt5xaSmQW/0R6YU+GolD6fS4ohrToBJEEQRE8TV8w5dgoJJg DGWrl5LY5WiwRdnsPuhY/7p2gB1GwjssO5WOS9NsIQmX7ZmK/v7rsVUI1yOeDaNmnf87 gQ1OBF2+RZRWAZi7pqmXjJYCMfZPG67fMeIBMaF+KC0UuE3cmjF8nPXdFPGIjYNM4yS1 wEZF+tKM6FeF4lGnrgcabZXKwLMCswSm+ATbQoxNBNd+LnXAo1gf7Mr0cArxDgKaAtku ph6JDMZXs0DYcxvWHj7lVf3EVmraS5XkKvXQkMHfmmIyGXQgkgwFJqCaHGX8K6IP8z+o tzDA== X-Gm-Message-State: AOAM530/w3/z0kJj06FHqiz9cUUgPtCv7BpJFXC9NjEj1v2qA/x3QyI4 xKUySfRuuNcR5f7sAvhPaa7kv+eCekZIIfvO X-Google-Smtp-Source: ABdhPJzWHEbDcAzCeHyRk986sv/TI4K7xQ9FrIZmvYJVraEiJ64ukfibErcrIY8ZeSm3SbXimFWHyQ== X-Received: by 2002:a62:fcc3:0:b029:155:d55:7c13 with SMTP id e186-20020a62fcc30000b02901550d557c13mr22476179pfh.79.1602501338528; Mon, 12 Oct 2020 04:15:38 -0700 (PDT) Received: from udhay-Latitude-E6330 ([157.50.24.107]) by smtp.gmail.com with ESMTPSA id i25sm20090747pgi.9.2020.10.12.04.15.37 for (version=TLS1 cipher=ECDHE-ECDSA-AES128-SHA bits=128/128); Mon, 12 Oct 2020 04:15:37 -0700 (PDT) Date: Mon, 12 Oct 2020 16:45:29 +0530 From: Udhayakumar Mahendiran To: hostap@lists.infradead.org Subject: [PATCH] mesh: Stop SAE auth timer when mesh node is removed Message-ID: <20201012111529.GA17606@udhay-Latitude-E6330> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201012_071544_587635_66560578 X-CRM114-Status: GOOD ( 12.22 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:444 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-Mailman-Approved-At: Mon, 12 Oct 2020 12:02:13 -0400 X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Hostap" Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Not doing this causes wpa_supplicant to crash. Signed-off-by: Udhayakumar Mahendiran --- wpa_supplicant/mesh_mpm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/wpa_supplicant/mesh_mpm.c b/wpa_supplicant/mesh_mpm.c index ddcc33d..9a7a5d8 100644 --- a/wpa_supplicant/mesh_mpm.c +++ b/wpa_supplicant/mesh_mpm.c @@ -540,6 +540,7 @@ static int mesh_mpm_plink_close(struct hostapd_data *hapd, struct sta_info *sta, wpa_printf(MSG_DEBUG, "MPM closing plink sta=" MACSTR, MAC2STR(sta->addr)); eloop_cancel_timeout(plink_timer, wpa_s, sta); + eloop_cancel_timeout(mesh_auth_timer, wpa_s, sta); return 0; }