From nobody Mon Feb 9 10:29:29 2026 Delivered-To: wpasupplicant.patchew@gmail.com Received: by 2002:a05:6638:38c:0:0:0:0 with SMTP id y12csp584336jap; Wed, 5 Jan 2022 07:57:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJwU9s1zcLK0b9fidA9R2fXMLp3SwC/XBVagX9WoBOE1fGAJp/KYFHB9j42z0Szz26S7yIlQ X-Received: by 2002:a17:902:ecc6:b0:148:a65d:842d with SMTP id a6-20020a170902ecc600b00148a65d842dmr54075483plh.56.1641398262975; Wed, 05 Jan 2022 07:57:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1641398262; cv=none; d=google.com; s=arc-20160816; b=rn3pfbaAZy63Nwpp86lTFAkszbKDP6GLfqdjCV7J5lonw/i2wjhAtHADA7Ow8L+XQO FZaC+/9hTssMaZs9OLLbubT0oOhYswyZwuY4Ka6u7e6yLuK07PIx/ED8dcelHN7rfcR9 /2zKF+Px/XP1j0ZRxuqJSnkSPqa/20NubAztFHxbko06UEr2P8B2Q+jhdPjoAy2PgkpU 71WEhXAJJly50/oWeY42Qfuy8NVlcMCwVTq3ubZx4eJbPtNlHHTTxu+VFUQG03TZs1Yy KFviFuf65l2RNpIkjaQ+ikNgsHZJqBIGxFM1rt0jVy+OeErciYCeuaStLCXhRlF80gHo +fUg== ARC-Message-Signature: i=1; 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=ivp8ax95rhA0MAcxTz6MrRYhpRq1HirsyBfpAU4/xzI=; b=ZUOLz5YLWhqdtGZ46yxEGmtVg9S1MLEgwGTbkbbRrmG07ODNy/EGE9kO4EbTSvikSs qaNXB7dZXyutdXJ/w4n+wx+W2APWSTYxaKDK/lXQa7ulGisTv/vKISx1fht9iodo//hu WPWTdj9cX46nh4L7mK2a/kOlTa1SO9sCu088j84wY/ILzA2WXvV0ngpnuempQvo63aQ6 wgiNNN5cV7tzWCHclBtFuyaH90U+hwCu/dIR4StFzvFNC9zefw+YFeWrJv2cMejvRyJb FzYKVfCsH8dy3ZypZ49SDZrY+gL8LwpBRvbMTRFQF4bPdHim7S4EuX93N2OKp44rIwTh fF+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tessares-net.20210112.gappssmtp.com header.s=20210112 header.b=IMPtsuA2; spf=pass (google.com: domain of mptcp+bounces-2916-wpasupplicant.patchew=gmail.com@lists.linux.dev designates 2604:1380:1000:8100::1 as permitted sender) smtp.mailfrom="mptcp+bounces-2916-wpasupplicant.patchew=gmail.com@lists.linux.dev" Return-Path: Received: from sjc.edge.kernel.org (sjc.edge.kernel.org. [2604:1380:1000:8100::1]) by mx.google.com with ESMTPS id b8si3107504pgb.104.2022.01.05.07.57.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Jan 2022 07:57:42 -0800 (PST) Received-SPF: pass (google.com: domain of mptcp+bounces-2916-wpasupplicant.patchew=gmail.com@lists.linux.dev designates 2604:1380:1000:8100::1 as permitted sender) client-ip=2604:1380:1000:8100::1; Authentication-Results: mx.google.com; dkim=pass header.i=@tessares-net.20210112.gappssmtp.com header.s=20210112 header.b=IMPtsuA2; spf=pass (google.com: domain of mptcp+bounces-2916-wpasupplicant.patchew=gmail.com@lists.linux.dev designates 2604:1380:1000:8100::1 as permitted sender) smtp.mailfrom="mptcp+bounces-2916-wpasupplicant.patchew=gmail.com@lists.linux.dev" 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 sjc.edge.kernel.org (Postfix) with ESMTPS id 72E703E0ECC for ; Wed, 5 Jan 2022 15:57:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 125A92CA5; Wed, 5 Jan 2022 15:57:36 +0000 (UTC) X-Original-To: mptcp@lists.linux.dev Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com [209.85.208.46]) (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 CC3472CA2 for ; Wed, 5 Jan 2022 15:57:34 +0000 (UTC) Received: by mail-ed1-f46.google.com with SMTP id z9so93916416edm.10 for ; Wed, 05 Jan 2022 07:57:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tessares-net.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ivp8ax95rhA0MAcxTz6MrRYhpRq1HirsyBfpAU4/xzI=; b=IMPtsuA29de9TT2WsN9+YdTeo/T/J7qx0ovp6Ezlr6d4IVRXlwKcOl5D6yG1gR19na QsYCOQCt76QhVWurpYD2xkMigdQ9EA1Kb6uduVq0DJ1bDpXVTlWklJlseZwapuhU38OK 9xapr9os7oGSgzz/KceRnyTteOf4ZvTuHW9NHMAu262ZVIAEQASJgZG4NOUU/hFb0eiS m0eIBmAk+hNtqCF1c5faWKkaeoTZzIhBs3EU0Aeu5qIrQNbZU5WLuJcAp9OOBaGQNMuN KT9acQpC0nBpkMXt9RIAulO8in9kfGDjOuM8IE7Ndafp0/SxCIo6nnVWpThHIP1f3pB4 Dfjg== 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=ivp8ax95rhA0MAcxTz6MrRYhpRq1HirsyBfpAU4/xzI=; b=YEajOW0UgR7ufvZ5L53F515x1r91wAgiRbwlcOurjiW/fSWC8NxsXEoRBp+y4urxu8 A4VIfREOOsttaMfe3bSNhqkZzyDvVemVwPhtX0gqji2B5zewpMK1CCBohP9+H0dGw5OW h0gUR45lF6Qxf/+RouZIDM/bo2M37qS7iqHFTu6qwn4wnlEQZ72gj23zhwioeudBF1V8 dfaWQA5Ghp5fTzMqysIK/m8J+gE178+zAtvYHLruqACEqshGmriDy5CmcTZFu6u+O14l pqYS7GCJl41qiIYWpeXy5vVejQwfQGZYDYAATsYk39OcpGMZLot5y1pQ5Cke5y2tzgMU SA9A== X-Gm-Message-State: AOAM530zB+AJlc5J75SXWsJYvm9/qr7MDeGzziD3FR2A9wgC9UKNjo3M nBAA3/EiAjhB0Pt+6pDOo9U8Uug/EogWK/y2Hb4= X-Received: by 2002:a17:906:2793:: with SMTP id j19mr42009708ejc.254.1641398252977; Wed, 05 Jan 2022 07:57:32 -0800 (PST) Received: from tsr-vdi-mbaerts.nix.tessares.net (static.23.216.130.94.clients.your-server.de. [94.130.216.23]) by smtp.gmail.com with ESMTPSA id c30sm12399684ejj.190.2022.01.05.07.57.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jan 2022 07:57:32 -0800 (PST) From: Matthieu Baerts To: mptcp@lists.linux.dev Cc: Geliang Tang , Matthieu Baerts Subject: [PATCH mptcp-next v8 7/8] mptcp: print out reset infos of MP_RST Date: Wed, 5 Jan 2022 16:57:01 +0100 Message-Id: <20220105155702.165123-8-matthieu.baerts@tessares.net> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20220105155702.165123-1-matthieu.baerts@tessares.net> References: <20220105155702.165123-1-matthieu.baerts@tessares.net> Precedence: bulk X-Mailing-List: mptcp@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Geliang Tang This patch printed out the reset infos, reset_transient and reset_reason, of MP_RST in mptcp_parse_option() to show that MP_RST is received. Signed-off-by: Geliang Tang Signed-off-by: Matthieu Baerts --- net/mptcp/options.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/mptcp/options.c b/net/mptcp/options.c index 06f64101d27b..182fb885f5e6 100644 --- a/net/mptcp/options.c +++ b/net/mptcp/options.c @@ -336,6 +336,8 @@ static void mptcp_parse_option(const struct sk_buff *sk= b, flags =3D *ptr++; mp_opt->reset_transient =3D flags & MPTCP_RST_TRANSIENT; mp_opt->reset_reason =3D *ptr; + pr_debug("MP_RST: transient=3D%u reason=3D%u", + mp_opt->reset_transient, mp_opt->reset_reason); break; =20 case MPTCPOPT_MP_FAIL: --=20 2.33.1