Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2620856pxb; Sun, 17 Oct 2021 20:44:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwLf0GxjuNFVw90+R1nnYuAJwrmFM8KaTql9zGbJI7q22ZzNNltEazBD3VAg6PIcUarEomx X-Received: by 2002:a62:e40a:0:b0:44d:a86:43ce with SMTP id r10-20020a62e40a000000b0044d0a8643cemr26592161pfh.69.1634528689989; Sun, 17 Oct 2021 20:44:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634528689; cv=none; d=google.com; s=arc-20160816; b=GHMtAYK+QZgK5EUq+QhfB0iPK7hU844x3WQT1hpRjTXLlP6UnmEaLHPumCD7olz/kM 4nQfri2bidoGBNScE/ZnuOkEpbAY0IAqw7R7F8OIYXUvHSI5RDlJBDQ6TNSq5aR66F5g lMtD3mhccRmeLIFtRkPSQevehWUw/KFIsWwEddSC79e8pa0WEJX/zOAh8gdDhLOsaX9s XPO0ldvhADxkUjJk2CS6V9cxXNH3LN8tOskPhC/1ka59TjQ8HiCkZe0pVsnyNT/Wszn9 ri/NzN+jiV5hjGrg44QX1tjFTUUEz6xZBh4s+sAsiGrhNZpGbRxqV3I6mMbY1yvLYHA4 WVeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=eoZJDGivz6ztcepz5j2yxhDx6E+CrcILuWpR6Up3Bp4=; b=F9mNvC4fPFLAcAzo/I5OzFklEscPVkO4ZkWLUdji7tNwE4p5fPe2wQieNxqQfswxRU XPg75GLZuFqT4fBwYFxpPBoJoyFHclB7JT60mX1+Nj/bWidRocMW3qh9mqWw8xmuZYU0 xQwl3ZwBB/Pt4JFQ6ynpc/FmdmSW/fIieRkPhIOmBOLymROtpSVggSXhF9MR2fUKpjn2 P/KK4RnA81fdqsbNHPiIAN4la5Tk8RS8nKHY9cIm7eJZyDnPVCCcUsATuiEgft7L/EIf RODJDfbnv0/peg2+Uox2QjFwriXEwbf6LBqSJZXFFMOmSxkEzqDbrDYdw6zu3ceFP4gI or9w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w4si19205547pgl.96.2021.10.17.20.44.37; Sun, 17 Oct 2021 20:44:49 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245637AbhJQMYf (ORCPT + 98 others); Sun, 17 Oct 2021 08:24:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236317AbhJQMYd (ORCPT ); Sun, 17 Oct 2021 08:24:33 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6A87C061765 for ; Sun, 17 Oct 2021 05:22:23 -0700 (PDT) Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=bjornoya.blackshift.org) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mc5B9-0003hi-GA; Sun, 17 Oct 2021 14:22:15 +0200 Received: from pengutronix.de (2a03-f580-87bc-d400-7b24-848c-3829-1203.ip6.dokom21.de [IPv6:2a03:f580:87bc:d400:7b24:848c:3829:1203]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: mkl-all@blackshift.org) by smtp.blackshift.org (Postfix) with ESMTPSA id 2A1BD695CC4; Sun, 17 Oct 2021 12:22:13 +0000 (UTC) Date: Sun, 17 Oct 2021 14:22:12 +0200 From: Marc Kleine-Budde To: Ziyang Xuan Cc: socketcan@hartkopp.net, davem@davemloft.net, kuba@kernel.org, linux-can@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net v2 0/2] fix tx buffer concurrent access protection Message-ID: <20211017122212.v47r3jl6ig7nmuiw@pengutronix.de> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="te4ulpsvjqnychhb" Content-Disposition: inline In-Reply-To: X-SA-Exim-Connect-IP: 2001:67c:670:201:5054:ff:fe8d:eefb X-SA-Exim-Mail-From: mkl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --te4ulpsvjqnychhb Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 09.10.2021 15:40:08, Ziyang Xuan wrote: > Fix tx buffer concurrent access protection in isotp_sendmsg(). >=20 > v2: > - Change state of struct tpcon to u32 for cmpxchg just support 4-byte > and 8-byte in some architectures. >=20 > Ziyang Xuan (2): > can: isotp: add result check for wait_event_interruptible() > can: isotp: fix tx buffer concurrent access in isotp_sendmsg() Applied to linux-can/testing, added stable on Cc. Thanks, Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | --te4ulpsvjqnychhb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEK3kIWJt9yTYMP3ehqclaivrt76kFAmFsFXEACgkQqclaivrt 76nlNwgAr2PaAhzQXcL1Tqr5Orb+SsglkRncI1Vmktt3bwkvfZ0IT98FBHEfISge R8x0kp1KRCyMEb32zh1XHrd16ruEVWMMNdLbYUYWD2LITAq3cXJ82SGgtdyWjJTy AHUXwGeHlPNmbZJOzcaUZUtKjA4glhUEQtD1wxWUJkwA34vdg2rQmDvkR2Ekqr4e dTCQ4PQOZtWUiIxVPXIlkh1/AZR2VOvnpjuNp8TRDnstivcidz5n3hM9dw9hyXdj uBuSw0lb4plCu+7zTWFSSGH9wiLcEJ+Yat+DebE2IMLpG5qc1BbcdXfQRr3uvSmV F5C+PghtKVjYtDAwX4Q72xx2XhzVfA== =Tbwa -----END PGP SIGNATURE----- --te4ulpsvjqnychhb--