Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1414929pxb; Wed, 6 Apr 2022 18:15:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzgUzx61yY3Vc+yoHsD1g1w5lb4JUc+QkTwYvK1LDkhNVDd/Q6jTdGdBtJePh92MVSnW2H5 X-Received: by 2002:a17:906:c14c:b0:6e0:75db:8a9b with SMTP id dp12-20020a170906c14c00b006e075db8a9bmr10905473ejc.376.1649294125370; Wed, 06 Apr 2022 18:15:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649294125; cv=none; d=google.com; s=arc-20160816; b=VJqqIGb3PugzptyqWvuOWdBmwDtdwk68obpHKq9pAb7ByXz1Hm2gN95P2qtsOONy3/ 8pveHYye2FDz3l+bFhMSLEuL1oMP1AZ48Gd4sutPKRvO09WZnyDMgRHmkFuf5bCSe6xQ FJxhToMx2wXEyk5/1br51Uk0nlKl5gB1P915YHU53zmMGv9Plbh+bhmKz8kaKx5AKC1L zLBjkyBOFy/o+VkQ2iQ6J4WLd2+CgWcBSG0Z/hZKejkPBGi3WG6IEsqk+h72/rRS57mc DWvxJYbxZwJwdANegt3HRLb0N0wel2MeZnKRISmtUK/os3PsEG8ybyiJbIQYtbZ+a4eT JF2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=QrpjkiliU8wPY1XOQv+OUkzSsJhLMBGEY6gnsrt3l58=; b=VUVfK0w/3yrWk9p4mSBbhQnJ8+wK7+v0Ow2kOZFMIWE+dckkNNOIQw1l7XK/PP1jKY dP3fSNZFSlEmVm/545GNXz+MNb7j/kydvekFPFFtY5K8f8IjXN2hCe2AOdCUusHOa7xF WTGsdqszpQaLj/wWcKcyoNocd7Mjk2grWHE6wx1YcBExlN9pmmVu1832ng3Z4mAqaDbE VLixCQDQtHRuklS/R1F0tJbf6R1NJM2tyoCeqqJO+JdzdnRh27OC4NQnyxEgvC8d413f E1CVwteCzB8SNItQVRTdkO7rKJ6CPOFVQFV2JfCgQTOSlpI3tHOJLj9DfFI0bZUviwJz Ocxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=kxZaaA0a; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h23-20020a1709066d9700b006e021f4c205si12349897ejt.874.2022.04.06.18.15.00; Wed, 06 Apr 2022 18:15:25 -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=@gmail.com header.s=20210112 header.b=kxZaaA0a; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233946AbiDFVIl (ORCPT + 99 others); Wed, 6 Apr 2022 17:08:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235407AbiDFVIQ (ORCPT ); Wed, 6 Apr 2022 17:08:16 -0400 Received: from mail-qk1-x731.google.com (mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20::731]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65BC778FE9 for ; Wed, 6 Apr 2022 12:45:52 -0700 (PDT) Received: by mail-qk1-x731.google.com with SMTP id w141so204927qkb.6 for ; Wed, 06 Apr 2022 12:45:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=QrpjkiliU8wPY1XOQv+OUkzSsJhLMBGEY6gnsrt3l58=; b=kxZaaA0a0zGP6wg8qCMsSM7Ow8BFElXrCpRHQgAp5FPFjUto5oZhr7nRL88c+WFvMB nIHrrF7qWy8o70ZDCCV6hYbpzfH9cLJgPKx6KqeD+zMoxSg/At62gIKgd4GNdlenfy/N CkKP/FGqJungTP3BiUOLrZ/Y9CmzcgKI1Fa4QgTS4gAYAFbPRkgKvXEG4lBDfckmbNMd JgFmmojWoLEZ6hr0xSJNzrM6uupJgj2LC6gbj5dv/DLnLWrKCANN7QF5RCOKCmXAUcaI 6g4AdhPqhH7AJR0v2g5URzDtDsng0hdGf8TMBgeKyCXzRaLpSE6TkByavNh1RYeFcJav ZbZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QrpjkiliU8wPY1XOQv+OUkzSsJhLMBGEY6gnsrt3l58=; b=6bUIezrO8w5MpelR05pmaH9UZh3yzNvWb+Y6LxcILLzITelCvKA6S9a3r6wYnx9uAd oVxGQ1lBQMwp7MsQ6v486+GPM3leOnXvebDfGXe8OX4le5RXFjDn0NXY+smQ/xJOba8X w1ax688ZLV7BQW3pDegtqN6rtmOcCiz3gsD1r+fy+wLSrRsHI7BfsESPkby2xSvf39D0 1dRrUgViXuQwDO5piRPRzEHEMFOJwg1Ikuz742ix6xktog4l/jSYowp6YdFDZVC5YOz5 cvfeyV0TSPCoU6p18KPqsxjkyseRRZa65YfcYLIP1+kKoZ8bIkK9yCVXLNS9XMQDFQ29 rDJQ== X-Gm-Message-State: AOAM530lQX/9BGRjJY7S5GTK20xd4WC9ltjCdeNSQUvbAIGcN165q1Qu s8dmsMh0Qop1dxRPxXRQsRU6SdUqsvY= X-Received: by 2002:a05:620a:2699:b0:47d:753c:b8ff with SMTP id c25-20020a05620a269900b0047d753cb8ffmr6773415qkp.763.1649274351527; Wed, 06 Apr 2022 12:45:51 -0700 (PDT) Received: from mail-yw1-f178.google.com (mail-yw1-f178.google.com. [209.85.128.178]) by smtp.gmail.com with ESMTPSA id bl22-20020a05620a1a9600b00680da570a5dsm11388415qkb.61.2022.04.06.12.45.50 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Apr 2022 12:45:50 -0700 (PDT) Received: by mail-yw1-f178.google.com with SMTP id 00721157ae682-2eb888cf7e7so38209547b3.13 for ; Wed, 06 Apr 2022 12:45:50 -0700 (PDT) X-Received: by 2002:a81:12c9:0:b0:2eb:83e7:c3fd with SMTP id 192-20020a8112c9000000b002eb83e7c3fdmr8574499yws.351.1649274349858; Wed, 06 Apr 2022 12:45:49 -0700 (PDT) MIME-Version: 1.0 References: <20220406192956.3291614-1-vladimir.oltean@nxp.com> <20220406192956.3291614-2-vladimir.oltean@nxp.com> In-Reply-To: <20220406192956.3291614-2-vladimir.oltean@nxp.com> From: Willem de Bruijn Date: Wed, 6 Apr 2022 15:45:14 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 4.14 1/2] ipv6: add missing tx timestamping on IPPROTO_RAW To: Vladimir Oltean Cc: Sasha Levin , Greg Kroah-Hartman , stable , lkml , Willem de Bruijn , Soheil Hassas Yeganeh , netdev@vger.kernel.org, Paolo Abeni , Jakub Kicinski , "David S. Miller" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 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 For 4.14.y cherry-pick: Acked-by: Willem de Bruijn 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.