Message ID | 20210304064248.9636-5-geliangtang@gmail.com |
---|---|
State | Accepted, archived |
Commit | b7b6189037d6a1e2151065a844df91f0f7b1e8bf |
Delegated to: | Matthieu Baerts |
Headers | show
Return-Path: <mptcp-bounces@lists.01.org> 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.01.org (client-ip=2001:19d0:306:5::1; helo=ml01.01.org; envelope-from=mptcp-bounces@lists.01.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=lrLUSuyl; dkim-atps=neutral Received: from ml01.01.org (ml01.01.org [IPv6:2001:19d0:306:5::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DrhC35jQ9z9sR4 for <incoming@patchwork.ozlabs.org>; Thu, 4 Mar 2021 17:43:11 +1100 (AEDT) Received: from ml01.vlan13.01.org (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 24478100F225F; Wed, 3 Mar 2021 22:43:10 -0800 (PST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::62a; helo=mail-pl1-x62a.google.com; envelope-from=geliangtang@gmail.com; receiver=<UNKNOWN> Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id AD025100F225F for <mptcp@lists.01.org>; Wed, 3 Mar 2021 22:43:07 -0800 (PST) Received: by mail-pl1-x62a.google.com with SMTP id u11so15549971plg.13 for <mptcp@lists.01.org>; Wed, 03 Mar 2021 22:43:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ZfPZkl1YgqtLCAF1ooZksZi0564oFboxXhO8jYr4mFo=; b=lrLUSuyl09bJwikjg21lK9oB3MkYS+1xRw5vHYa7n7i+sLErboi/fkKcaLgGXZ6t+5 bRM5iravE9tlt5Lz8cRjhG43JI1R8D4i+UYUC+Tfo+gIHbz/oAZCgLC/Rk1mwS/eP5/+ VNF13+xReoFsU+++I74i4bO/sgntVPSgOHpa2k9Oi0yj5UInao4gdMo9vERU8BQCxENT JVymKGgNgudH8t/D28v0Fecj2XUvWOVuHdU/u45lu+0yU0GKN2sKdBBx+V1eoU4g5VnP YMGn+gUDpV40i+diWciaha/JKjGAy1yUzh/DobzxucL5C5TO1RBpsiWBAxHzt6LXQGl3 Aq+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ZfPZkl1YgqtLCAF1ooZksZi0564oFboxXhO8jYr4mFo=; b=Q3d9DrZ28PcGaiI1Yg6E9gJDEmsrIJlEiBc2k6a01jjPGv2meCF5CIf1kGDtT5FRCy pUz+FfZNRt21dnt/lG1dwLhoABp05FmorNFrnhUoaNtx4M50JTAR3ldLYQXCo0ae8AeW 1YTh0bvH5ehPT1mmcjKKfPrk4kR/UEkFcbVW8Z2GfnNBrimzDE8thL+wfeA1+S7Dq9ik VGggLK2V4bLu7s/FdA38OnJR3npcle/3Ne+dkFUx1NYczJVRsGCOvqEix7E27KSO1Fm6 1eEBP3wIo/YyqtcAd97H5USC6s+XmwI8spZ4wkLeXoJBi8SDKY0k2mOKuFygkf7l5Ojx ZaTQ== X-Gm-Message-State: AOAM530U4qR0gU+O1crbNiZke34HxnlpAaqsnC58krMqiAy9AcRkTbre c8BVsEBwLuCaupCFj89MYTrhR32trgmB6w== X-Google-Smtp-Source: ABdhPJyf7oMiynkX6LNXL4gVvuL89Clb3qBKL9Jcs12fSedg8Ch2em0ddJ9oXGQWhfeeJ8MygXldPQ== X-Received: by 2002:a17:90a:d682:: with SMTP id x2mr3115554pju.139.1614840186993; Wed, 03 Mar 2021 22:43:06 -0800 (PST) Received: from localhost ([209.9.72.213]) by smtp.gmail.com with ESMTPSA id r15sm26948688pfh.97.2021.03.03.22.43.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 22:43:06 -0800 (PST) From: Geliang Tang <geliangtang@gmail.com> To: mptcp@lists.01.org Date: Thu, 4 Mar 2021 14:42:46 +0800 Message-Id: <20210304064248.9636-5-geliangtang@gmail.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210304064248.9636-1-geliangtang@gmail.com> References: <20210304064248.9636-1-geliangtang@gmail.com> MIME-Version: 1.0 Message-ID-Hash: N7DLKQ5HCDVMQFQO3BFGZJC4ZOGVAVGB X-Message-ID-Hash: N7DLKQ5HCDVMQFQO3BFGZJC4ZOGVAVGB X-MailFrom: geliangtang@gmail.com X-Mailman-Rule-Hits: member-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address CC: Geliang Tang <geliangtang@gmail.com> X-Mailman-Version: 3.1.1 Precedence: list Subject: [MPTCP] [MPTCP][PATCH mptcp-next 4/6] Squash to "mptcp: add rm_list_rx in mptcp_pm_data" List-Id: Discussions regarding MPTCP upstreaming <mptcp.lists.01.org> Archived-At: <https://lists.01.org/hyperkitty/list/mptcp@lists.01.org/message/N7DLKQ5HCDVMQFQO3BFGZJC4ZOGVAVGB/> List-Archive: <https://lists.01.org/hyperkitty/list/mptcp@lists.01.org/> List-Help: <mailto:mptcp-request@lists.01.org?subject=help> List-Post: <mailto:mptcp@lists.01.org> List-Subscribe: <mailto:mptcp-join@lists.01.org> List-Unsubscribe: <mailto:mptcp-leave@lists.01.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
Series |
mptcp: avoid passing rm_list as a struct
|
expand
|
diff --git a/net/mptcp/pm.c b/net/mptcp/pm.c index b11e3ec85a0f..316226da56c2 100644 --- a/net/mptcp/pm.c +++ b/net/mptcp/pm.c @@ -217,7 +217,7 @@ void mptcp_pm_rm_addr_received(struct mptcp_sock *msk, spin_lock_bh(&pm->lock); mptcp_pm_schedule_work(msk, MPTCP_PM_RM_ADDR_RECEIVED); - pm->rm_list_rx = rm_list; + pm->rm_list_rx = *rm_list; spin_unlock_bh(&pm->lock); }
This patch changed the type of argument rm_list from "struct mptcp_rm_list rm_list" to "const struct mptcp_rm_list *rm_list". Signed-off-by: Geliang Tang <geliangtang@gmail.com> --- net/mptcp/pm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)