Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp307110rbb; Sat, 24 Feb 2024 01:06:48 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWIdlIV80Wzcg7QpUeU0I0lk8aga8ubH3/cIsAGRAxhEL+gywTlJ86kF0nPUr3bNut59IxjAbFkNk/+zzIBQ+fxWU3YSHUnNZakE/H+0A== X-Google-Smtp-Source: AGHT+IGMe09hxvCp76H9QSC/q8MJJox5kbDbYm6XOMvkwDrXWJSJXxRfgVqPQvOdgMBSWD4eHziU X-Received: by 2002:aa7:d285:0:b0:565:9a65:524d with SMTP id w5-20020aa7d285000000b005659a65524dmr744836edq.3.1708765608614; Sat, 24 Feb 2024 01:06:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708765608; cv=pass; d=google.com; s=arc-20160816; b=ucjlk/3oPaBRWcBtEKdoN1kqApT+bLlKaEsZRrv05n9kMvc05HbEpkTCu77NTUdpe4 g3YVnlwAqKKuHfsDD8INNkPtuaMmdNTxnNNUwrkW68jAoyTLo9Rze1hPucOdBNLs3psw gF43Jy78XEofPqLwKt++E6TFOpcquxbzXdNoJ+rElDMKEimLfyBzIxkZ+bHdeu7QK8tX cEPl66f4GQyK2YYFq7maMBNzC4STRHdnKOvfebDQZTelM+dWJ6lGFHGZIxZNfVI2zS44 YRqfrdvt1G5M6xzVveIipOfxRckGRT4U58NMk2ukf8a2D5lKo2Px8sSvjtVMQYY9MkDe v36w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=DfQPvdG/1knhuB2wdxd38i85RMYhhb/ulQhTX77Xabw=; fh=NAktbXyt6v7Z7xs8m+g4KDltR6yaSBacWQID87zWfcs=; b=yVRhn+faKF3cTMH31FIOwzSVxbidvDfhlqYQZClPoUmuf02emCOZr4YnMEpLB5B17+ BHdE/STnVEQciPurN0PcvKCaxbbaptVb9kuF3oN5zUgEEjcgCGpT9YVaO9F/ax36/5mc v8bz9qU5qTtwCO20LMWeAoM3TSmJZV9EWHlZ/213gtJuHUUQ5KPzfkxf0OTBQUqn9NeJ yvVXvEJjKzELvwyA/08gq1pIUdHUd3CzvAfdTZ6EZ+3y0DBfmcTvjIyhDsSZjJAvMfP7 A7vhDK0uMcAlveOiaL0XyLEiNiZpFAYvokFhuEQAqd4XYiL9hJYVOHAZma5S+VBJhzDT dK9w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@arista.com header.s=google header.b=b5O5EhPW; arc=pass (i=1 spf=pass spfdomain=arista.com dkim=pass dkdomain=arista.com dmarc=pass fromdomain=arista.com); spf=pass (google.com: domain of linux-kernel+bounces-79526-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79526-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=arista.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id s4-20020a50d484000000b00563f487caa9si320160edi.498.2024.02.24.01.06.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 01:06:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79526-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@arista.com header.s=google header.b=b5O5EhPW; arc=pass (i=1 spf=pass spfdomain=arista.com dkim=pass dkdomain=arista.com dmarc=pass fromdomain=arista.com); spf=pass (google.com: domain of linux-kernel+bounces-79526-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79526-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=arista.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 5CA711F2213C for ; Sat, 24 Feb 2024 09:06:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 189133D396; Sat, 24 Feb 2024 09:04:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arista.com header.i=@arista.com header.b="b5O5EhPW" Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 40CA036AF3 for ; Sat, 24 Feb 2024 09:04:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708765496; cv=none; b=BX0MiKVizBRt317sk8htA4wWueJh32rmUlDuKWPMWIcF2s+swKquTobeprCslqN2QHM/3HXXllesBaaPrXGAq94KiEGQj53LLp/OItE+KxsWo6mwkC8wflpvr6DnjTJQDuSSwM7mMrVA5wXd3QeZxg8lixmyAJJ6BrdC4cDE5Ao= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708765496; c=relaxed/simple; bh=ONxj7Z5bQEyPpk/sK690IPfrd/nKeK9bQ4FibvhzH/w=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=rg8cZp6qBRfhlp6NUpdKY7bBsDsgpT9oyolrRBDTNHrKs8rwligzrzsIiTw1B6S0rfjiINY8cRf+2YIoHCr3i2KpnFiiF3zPI5qb5nNEjZjygZBlj9uSfFOjpPkoTlBkc8lIS1FnuVD4icQs8CxSj/c/82qNd9vhGkjEpxkvrGk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=arista.com; spf=pass smtp.mailfrom=arista.com; dkim=pass (2048-bit key) header.d=arista.com header.i=@arista.com header.b=b5O5EhPW; arc=none smtp.client-ip=209.85.128.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=arista.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arista.com Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-41282f05409so7819165e9.0 for ; Sat, 24 Feb 2024 01:04:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arista.com; s=google; t=1708765492; x=1709370292; darn=vger.kernel.org; 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=DfQPvdG/1knhuB2wdxd38i85RMYhhb/ulQhTX77Xabw=; b=b5O5EhPWnVR2ykOEHHgrIzkS5V1Hb1ov8m+Q52/l9GxGNsmJtCRf+OLbnTnVUcnjQi pNBPOBlDXd5rLeGJ1qfwE9K/47IsQPJ3gGlJgG+EAB7OAXHyB+l+pSUJCNKY13wOKwQj 8wwPuiMqkaWsdiEsG5g0mxWTBvgzItSNXpcHjA0cahQvc7y2Ic9EDCOazDXJ+axfEsFj iUKmHijJ/hTGm99RpDMZI9KQKNOZb7iZxF00h1ztBJvgKQazM8AQ2OqwRpacjOA879qE 8y9rDtlmavThdfEnisdz3uMMrocE48fJGzdLyQuCGw29CB5kdrzoiQ/Ax8beHMGQybbb LEBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708765492; x=1709370292; 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=DfQPvdG/1knhuB2wdxd38i85RMYhhb/ulQhTX77Xabw=; b=hlcm1LLE3j+2Wc4Dwe+CkJ5ZLTGWvssPaHWi6NXsBp1AAQBG3AtsPh3wVKqtBQVEgW bEpCFCu+htlR7zvKCLMsmhRSEStye4Xq3Tq1/LpVNFrCPnfxIpqLli3ZzksV7CJ0e1Gu EDevUWpqxTwjt43sfkUDmMvRefjgUrij6P6upyOHu3CMtod/Cp24msRb2EP3Y4yTjj2T vPjhHkP/IHV58pWadTIfV1FExFrGisbB/FLoBLlJfFONWmy/tezMQ7UE4a3YYP4O6nmM QUECLzy7DSXfFUAZHUwYE5OClVdlij+tqrNr388uJPUlyN4s+oUZ6yOEUZlEm9K+Vh5V 59vw== X-Forwarded-Encrypted: i=1; AJvYcCUZ1UnN9y8cZ3UCD1T2/7+5UNboCq+nOqHau0D8m1oj99GmNgnNkDCThmGa4ds2HkeEv7l6/sUtAlabwZdaf0awPLrq4GHpUouvhsoe X-Gm-Message-State: AOJu0YzNosV5ZxQYV+uRFtuLZ0jbTUOJ45bKme0pClsSA1WHiQU1S2ys JhW+SysYY2Bprck7EjAdYz8bXfIRJwRmzJZ7AGObsvvcKU2sihusEubx6TLNGw== X-Received: by 2002:a05:600c:1d9c:b0:412:99a9:efa3 with SMTP id p28-20020a05600c1d9c00b0041299a9efa3mr1038094wms.2.1708765492693; Sat, 24 Feb 2024 01:04:52 -0800 (PST) Received: from Mindolluin.ire.aristanetworks.com ([217.173.96.166]) by smtp.gmail.com with ESMTPSA id m6-20020a7bce06000000b00410bca333b7sm5320593wmc.27.2024.02.24.01.04.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 01:04:51 -0800 (PST) From: Dmitry Safonov To: Eric Dumazet , "David S. Miller" , Jakub Kicinski , Paolo Abeni , David Ahern , Shuah Khan , Steven Rostedt , Masami Hiramatsu , Mathieu Desnoyers Cc: Dmitry Safonov , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-trace-kernel@vger.kernel.org, Dmitry Safonov <0x7f454c46@gmail.com>, "Nassiri, Mohammad" Subject: [PATCH net-next 06/10] selftests/net: Clean-up double assignment Date: Sat, 24 Feb 2024 09:04:14 +0000 Message-ID: <20240224-tcp-ao-tracepoints-v1-6-15f31b7f30a7@arista.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240224-tcp-ao-tracepoints-v1-0-15f31b7f30a7@arista.com> References: <20240224-tcp-ao-tracepoints-v1-0-15f31b7f30a7@arista.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Mailer: b4 0.13-dev-b6b4b X-Developer-Signature: v=1; a=ed25519-sha256; t=1708765347; l=887; i=dima@arista.com; s=20231212; h=from:subject:message-id; bh=ONxj7Z5bQEyPpk/sK690IPfrd/nKeK9bQ4FibvhzH/w=; b=ApyCZf2dRuD/UzWSTFlquW9P+8yF76Z2re53ax/cuKzDykILrZj070hC8QcMGoC4IwTtCZu8w C1GlruS6OfTBeWvbTf2OlH7qHOZ+wdNLNRJO1kOLmqM21rYvr8mhC+V X-Developer-Key: i=dima@arista.com; a=ed25519; pk=hXINUhX25b0D/zWBKvd6zkvH7W2rcwh/CH6cjEa3OTk= Content-Transfer-Encoding: 8bit Yeah, copy'n'paste typo. Reported-by: Nassiri, Mohammad Closes: https://lore.kernel.org/all/DM6PR04MB4202BC58A9FD5BDD24A16E8EC56F2@DM6PR04MB4202.namprd04.prod.outlook.com/ Signed-off-by: Dmitry Safonov --- tools/testing/selftests/net/tcp_ao/lib/sock.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/testing/selftests/net/tcp_ao/lib/sock.c b/tools/testing/selftests/net/tcp_ao/lib/sock.c index 15aeb0963058..0ffda966c677 100644 --- a/tools/testing/selftests/net/tcp_ao/lib/sock.c +++ b/tools/testing/selftests/net/tcp_ao/lib/sock.c @@ -379,7 +379,6 @@ int test_get_tcp_ao_counters(int sk, struct tcp_ao_counters *out) key_dump[0].nkeys = nr_keys; key_dump[0].get_all = 1; - key_dump[0].get_all = 1; err = getsockopt(sk, IPPROTO_TCP, TCP_AO_GET_KEYS, key_dump, &key_dump_sz); if (err) { -- 2.43.0