Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1422579pxb; Wed, 6 Apr 2022 18:32:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJGJX9Hy9cWOjHoEVI1JE79RVqgHB4tYq1Up6yj/Y9O8mYrQ6BKC4f1+xSlth/YTIDxqTL X-Received: by 2002:a05:6402:294e:b0:41c:c191:64bc with SMTP id ed14-20020a056402294e00b0041cc19164bcmr11979633edb.166.1649295139504; Wed, 06 Apr 2022 18:32:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1649295139; cv=pass; d=google.com; s=arc-20160816; b=JhKyCHUo2+yHx6ta4JrYX2Pl1sSHInmjzVnCY43n5ftX9+oB9cVftVgoCupHncOV0X /e+aefrAaNwk9J5gG1xKjn71eOukzcF+whF5UtgjO4mdMur0bmlUgGpqu0KG67Plr+KL RERFvZolXYoQHu3UDwXHOM5Chgh6IMf7Lsdq+6GTHQn4P6Z0+AvstshcnxPQIfG1sh1W vLt4LoCHuDFrGkptwZ+eOkpnaoZ2Pud7TNA/mpF4WSoo2lXWc/3c9p8xv5bvGNAsDt1o Niq+GNhO+Ka6zJPYu970HfrmTdm0RNkTeOioG8avakBeIebRKtauVcOUJr/Gp6yKco3F QrUg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=Fu7StXOMwFkxbeA2JYTTW5/+F4CC319d2kKqBe+JTDI=; b=x+DxtY8wA5qAEhZXiRVYezCUSsXT2bBVC8CYdKutJIq06UBiWiX1VK1MWo1ooBwtSU P2VJrqHYnsYNMfBIHOPhdImUYrvJlStTuH9iRQ5vvRI9T/lCwKF5INWPtPCi4P9ds8KB o6r5EhX28loYZnL+pWl2wA6hZTz7qmqYog3iyylkp/qmzjUaB395FZbu7t6B537wtbWS YBS98HxhhkGXqs4hF2QmA/pnV8oUtSOuWi590UnbKdUn9s6kVQ+PjmoInK4Bx40V5BLT pZ9DhTYV+XHDcsEBgpuK8UfmdSdHUFoUiWbYiiRSYsDV1D/F8ykbHlwR1k8s/5rEoMtv 39Lw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=Hp4SzY+K; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e10-20020a1709062c0a00b006e835af6d53si385894ejh.785.2022.04.06.18.31.54; Wed, 06 Apr 2022 18:32:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=Hp4SzY+K; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234951AbiDFVJZ (ORCPT + 99 others); Wed, 6 Apr 2022 17:09:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235255AbiDFVI6 (ORCPT ); Wed, 6 Apr 2022 17:08:58 -0400 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2055.outbound.protection.outlook.com [40.107.21.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 305C3E29EC; Wed, 6 Apr 2022 12:47:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VAF04dFHYpl7kDat3ipJghTR4mUhPcGBFCGOOwYMhDhMsICYdR3rIyPkr/1GxeoWogZAZrq5K2AtJEiNp0hKuW8BMUfpHSnTNVOLHY1jIyliVidOv1e7j4cz3mnG7cFxnx2jwqPuatPgKcRw1u1wTyDKHTsPAJ+85nSiEQ0Fp1VceZdeuogZ4dWSE8XTh4yLWwFVFM3JLPBbspoiE6h8qY+i1sNvy5FMo0bc98tndORWbjw4XaS8eAuPnVe7g9CV2ys25jK/ltN4e0uNXSLsrfFSZEBT4gpZFSuUi37W337k9lhn36EKYnYIJlWzrg8eIpbc9Gh2Te3kBi8RSqlX4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Fu7StXOMwFkxbeA2JYTTW5/+F4CC319d2kKqBe+JTDI=; b=ZIwgh5aCi1Qgr7M1lI4B0/NSZ1Fy6Dgk37sIg6o2LHV5I3YndbXqvZPJ5m1O7QJ6pC1NMWXoDXP94ob7yWYhMXBKt5Ro2rtDLqJsg9xwq8VEPYLFoQgTXHaDs3lX6L7jF8uhidcNho/TehW8qJUJOcqJwgRpPvvarfy3WT7eMk/ryto8i8qHqD0qa4Ca+PML/HFtlxW3Gq69mHo3iypIS/oNtBHE6KKx5E7jlejPgVyZ09cjyasifc8tuct0/yWm3sI/9dkAYoRJtWVUG39HnpreHBB8uEui+z05q6D0HBMH/2gzPngPo/TEb1j/oBjiNzASCrDP7voA94nnYr3qKQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Fu7StXOMwFkxbeA2JYTTW5/+F4CC319d2kKqBe+JTDI=; b=Hp4SzY+KXKeqCKYyqzVyCASRbpxUaV+yBU5ETezDmy2iD5YVl0Gvf35AX6Z8n7LqDEEmsbvfaFtJ2qAc9MlF2Utk0RStioYTgodpLzzJ7TIhhL5rUKY0lxGaWFBeDF+J9NgGmLeOgtoZVhVdUBHJvcT1Qptr5sENnvIgfWPhAAU= Received: from VI1PR04MB5136.eurprd04.prod.outlook.com (2603:10a6:803:55::19) by AM9PR04MB7492.eurprd04.prod.outlook.com (2603:10a6:20b:282::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.19; Wed, 6 Apr 2022 19:47:12 +0000 Received: from VI1PR04MB5136.eurprd04.prod.outlook.com ([fe80::8ed:49e7:d2e7:c55e]) by VI1PR04MB5136.eurprd04.prod.outlook.com ([fe80::8ed:49e7:d2e7:c55e%3]) with mapi id 15.20.5123.031; Wed, 6 Apr 2022 19:47:12 +0000 From: Vladimir Oltean To: Willem de Bruijn CC: Sasha Levin , Greg Kroah-Hartman , stable , lkml , Soheil Hassas Yeganeh , "netdev@vger.kernel.org" , Paolo Abeni , Jakub Kicinski , "David S. Miller" Subject: Re: [PATCH 4.14 1/2] ipv6: add missing tx timestamping on IPPROTO_RAW Thread-Topic: [PATCH 4.14 1/2] ipv6: add missing tx timestamping on IPPROTO_RAW Thread-Index: AQHYSezApD9O9L2JBUO7kEbsphrFo6zjSdEAgAAAi4A= Date: Wed, 6 Apr 2022 19:47:11 +0000 Message-ID: <20220406194711.3apwre6dbzbtw3ou@skbuf> References: <20220406192956.3291614-1-vladimir.oltean@nxp.com> <20220406192956.3291614-2-vladimir.oltean@nxp.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1c3f023e-a4b9-41f1-5bad-08da18063e48 x-ms-traffictypediagnostic: AM9PR04MB7492:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: er1wHs1ruiIMs3wAYRWXpg4N9xciVPDHY5xalX0AzQT4djx2po04o4K94F/cRiRIrFhxSvoC5Qi3PnUvrrS/j++Y05MgsFphigzYZ/J9eYHmvlW/CkgrtUsqn6JqqSU06cO2j61CEXqUcqSR4eQEQ2zyAqX5Y9mUvXWITmpUu+7ZjI+4x1AKAhB6IE1lvCtORTe2NXnOhdzgBF9GNRDgfYFBoBJNSTniJWt+91B0acI1Fh6xfqexqXsXBkSTUL8xAJ9VT0+vbE8MNywCHoC8ok59KhHI2WtjkIBpeVPntpBeMG2IxZLtLWACjRF3u3Aii5woKqIyrSTIIw8tdnj4QVEFeT1hZuwF5hElt6LqBhAUJS4MkSG7ZyZOd829TxOuVMMKRioVH3Z48OGC4F+6vOo668pTQTJjB+3LC6FfJ3lgvJ9H6qzfCDKY62qfERPurReEOPfh8jCcdGVBBaYRqof+twM7Y2KkxWfDuxniTV8ponScCPjO5RmhA4iRV2psi3shReARJk1oudTdEcFj5ghv86rnu6A4gPxIt4NFJbPu9HPZn+FIFobF78eiWFzf95zsq7/5u5VijYvq0+hXgHSMsxge1MwiTLGf59568YIxmYC8ZEbv34ZkaaONUHrZAr8cF6eB2jzqOgPOZEXTNzAztampqkRhsVTXW1aBvHj9axtV8Ra3cl5MpjZmhcAWVOw+ub2+v/PkKv0+kZAgAQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB5136.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(7916004)(366004)(38070700005)(9686003)(186003)(1076003)(6512007)(38100700002)(26005)(44832011)(5660300002)(2906002)(7416002)(8936002)(33716001)(316002)(6506007)(54906003)(86362001)(64756008)(66446008)(71200400001)(508600001)(53546011)(66476007)(6486002)(6916009)(66556008)(122000001)(76116006)(66946007)(8676002)(4326008)(91956017);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?V4VyWWZL+b/3ojtj9jh6CHCAe+DrZUSu8NwWjG94sAa7bSnmAcF2RMgzi+Fs?= =?us-ascii?Q?LXiypfOO1RhH6kzuiIHRBBZ604gJYUOC4SAG5i7BFfF8fIzFpRAztO7yccQB?= =?us-ascii?Q?zfbXfHRyUvHZsOcaI1lKEsGRtBjaWQGAJMFBRl7Rgt58rYr0qvqnGv4gUgsB?= =?us-ascii?Q?mXqCWjQCVlgcgosV0wJqSIv8M8vxVENLAqtFeELwg+pl6pTkXHMQ/MuctDLo?= =?us-ascii?Q?QPT+wirmDfGY2z5pk6mZVE9913eMsM40XzBSy1xwRK8kfxvaISep6UTedemT?= =?us-ascii?Q?1lFQsLkGzQVCvtYsfsYPf1dhOPttNlk7mDAoX7nWKhw19FZLlwHasZHrNuqS?= =?us-ascii?Q?kAq+qkPwIDu0dwBGrCK0Utmcw/VouC+drI5RCemuk5dcX5tLby/YBp+eWKZm?= =?us-ascii?Q?qrujjKJx2PVwozRiAyqbNX4jbE36GIec1rWqS032PSKcysYyIAzHFcvBbdVW?= =?us-ascii?Q?4tGFy0c3ElveM+xpFgRpkIZvfFi69ls+lJ4ubSMGhHEQmVXvmgc/oMlmtKyn?= =?us-ascii?Q?pY+YseZL/U44xxkz8LtCxK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Q?CeGOAXGcg7q5E+QqcddyOAWjhxH0Y/JFdK/1N5BbHy6kuI/apEMNqtSzPD+J?= =?us-ascii?Q?k/mEfjQH4VFrEYk0H6GDb6Zu7LlA1MgmslAlcB+Ged75BIKe16M0o1wuaovP?= =?us-ascii?Q?MgZjP3rU5RJj/xi642yhBuWBb+hqaK1sgZLyzErG6lHo3WFV0aPjmby9DOUo?= =?us-ascii?Q?FH7CXm/UmYjoJALkmehwLR0DL++ZHBNUQR4aaDbLblqGJcvGQjaVI81XHlcF?= =?us-ascii?Q?+KdiVZu2Y4FZeNUBK2PnXzaiQibhj1sIc1xczLGwEo4XLxAxaStS2tGJvVOR?= =?us-ascii?Q?mbbyfBKqcoNqSDEm8gvFKbQFQIrphHA=3D?= Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5136.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1c3f023e-a4b9-41f1-5bad-08da18063e48 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Apr 2022 19:47:11.9208 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: g2N45xVCUBJez81u/0tguDi8iyikIekKPe/NJykAlx391YMJ9VJkweZAEaBd95wECyRrK2Pb3NyozKimdXeIdw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB7492 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 06, 2022 at 03:45:14PM -0400, Willem de Bruijn wrote: > On Wed, Apr 6, 2022 at 3:30 PM Vladimir Oltean = wrote: > > > > From: Willem de Bruijn > > > > [ Upstream commit fbfb2321e950918b430e7225546296b2dcadf725 ] > > > > Raw sockets support tx timestamping, but one case is missing. > > > > IPPROTO_RAW takes a separate packet construction path. raw_send_hdrinc > > has an explicit call to sock_tx_timestamp, but rawv6_send_hdrinc does > > not. Add it. > > > > Fixes: 11878b40ed5c ("net-timestamp: SOCK_RAW and PING timestamping") > > Signed-off-by: Willem de Bruijn > > Acked-by: Soheil Hassas Yeganeh > > Signed-off-by: David S. Miller > > Signed-off-by: Vladimir Oltean >=20 > For 4.14.y cherry-pick: >=20 > Acked-by: Willem de Bruijn Thanks. > Might be good to point out that this is not only a clean cherry-pick > of the one-line patch, but has to include part of commit a818f75e311c > ("net: ipv6: Hook into time based transmission") to plumb the > sockcm_cookie. The rest of that patch is not a candidate for stable, > so LGTM. Point out how?=