Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp48354pxb; Wed, 6 Apr 2022 21:32:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx1gKOKAhT4dIDkEsmKkaRQQjoYE5uJrEGCA8p/EYZgxWTJimfYvqH1Xr1rsoDu8CUHcXru X-Received: by 2002:a17:90a:3c84:b0:1ca:56c8:5793 with SMTP id g4-20020a17090a3c8400b001ca56c85793mr13724734pjc.226.1649305961779; Wed, 06 Apr 2022 21:32:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649305961; cv=none; d=google.com; s=arc-20160816; b=D3hOP5i7c7f/f4XWB5sfyLxHhirgE3N0od52oDEj61ZiPhvYxzmzaReTvorM6rnZaI j3dQxe6Ta0CgRyO8eBq18oBnp1f4HuRgTXrijo/oNuSOE6f1Q5x0jWnVV2qKB/zp22Gl KhoV9BkBCaxswN0jBG1telADG83Z/aM8sDBD1HeMB1HfegRJpwXGLMPxquOtAsDuB9fB BmwZb7K4y2JKXaR7ZGAfYBM112cmvajTIsVTua9x1ZdAwV+kz6pXeVPBhgbWrJaKkIXt 7U294ODyoWiUR/Yve7Brbw3vKWxzqYU6K2ua4jLJB8WdZTNnWbwO140YCmhloUh4Hqi0 3F6g== 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=rU3HELUX1XIytnmJX3ImprHYMsSbQFe5QXWr9mWpDno=; b=IkrP2CVfqB1x2uJJfPlXCFMfYdZxzuXXcYa50Qxdvd/KX92ahmlqjJQ0whf+jsnFGW mHNc7hnkvBhni2EX9a1v6Nms4W5OvZiRwiuchUnbZXcCxArfVqPe6LLF6Hb43mEX2Xjp PMvnCaQNpILIvLgYhTL9xDmrUB5fpuR4JzBk4m0Ts2GKQ/R9VSjDnSeK/KV3RJMWr7zS dNqB+/Sk1CxTiJONeLN8Ee2U7mKtUOEdEGk3cm+KLKKSkmM2RBqK9xUKRzC2xPcPtUSB y0RHvaSh/K/UkawwesAQBBS/ZHK3SQ+Pa7ijkUAn7kau3BLi7pOiNlBlK5TnNLTe+d1C Ujxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=gqSaIZ6P; 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 75-20020a63024e000000b003816043eea8si17381345pgc.157.2022.04.06.21.32.27; Wed, 06 Apr 2022 21:32:41 -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=gqSaIZ6P; 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 S235821AbiDFV7l (ORCPT + 99 others); Wed, 6 Apr 2022 17:59:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233270AbiDFV7j (ORCPT ); Wed, 6 Apr 2022 17:59:39 -0400 Received: from mail-qv1-xf31.google.com (mail-qv1-xf31.google.com [IPv6:2607:f8b0:4864:20::f31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B325100E3A for ; Wed, 6 Apr 2022 14:57:41 -0700 (PDT) Received: by mail-qv1-xf31.google.com with SMTP id f3so3460855qvz.10 for ; Wed, 06 Apr 2022 14:57:41 -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=rU3HELUX1XIytnmJX3ImprHYMsSbQFe5QXWr9mWpDno=; b=gqSaIZ6PbdRaDdsgcUaKEm4bAh0znrnMb0xSRY8tLLEoZys8+3TpztKS9SLxOEwEwf rxuQJbK6+WYzU486JcgzpTMVJlG0tJR4rKgb8wm70JlQfHu+50wpC4DixvUqlZdXp9M1 SOiFBIaHLXHYJL6GBIZVbMAU4bu533ieqLFeL0GrGE4aOyWOhLHDJ7sgVqN4GQLes6Go DQxgHpJrQrLDIP+ijEZwnFJ68EPz59uz0l8LZwb4aJKZsa3jEF0+MWR82r+V2zSRBxIH zMPvNAEM0IVAlsd66H8KYQMpsVnUg7MkqKsEeEv965c7kTobzs4FcefoV8NCaGS4Zh25 x4eg== 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=rU3HELUX1XIytnmJX3ImprHYMsSbQFe5QXWr9mWpDno=; b=1Ul+UwZpfr4Gs4k8bBd7XsN/7TdDtAXPMowtWYjfyewh00dIzRJi1tmE7PgUdTpfdr 7jnDH//K0weTCsSazsWsS8E9zjapbAIL3CGhBzC3OQ7787HxhV06xbieMdnV16azh3LT /NGC+IsD4c3xUUuXxaPkCzygiUjNSSZjBWfUcTkeQYzbnTrJsOdXmH+D0/QVEh54UGr9 ETZKSt1MQMIupZXd4KG/UiZqtQsy633hU6oK6dCOYg+eEyaW0FgNE9IJRyIAZyrTcj4H SgqCYJ3MI0yoANVKSLFkxIPW3l7R8XFn1w9qcLPK5by1lU/gAtkQB4uAjPIQPAhNL1bz XjWw== X-Gm-Message-State: AOAM533kaaOK4lilzxz7u1oRv0ko87DL8VZzrKmZ5eEQX+IlhFnLkRV4 XkOxMa7aajcHnlRQ3DhmCDc32ixdXOE= X-Received: by 2002:a05:6214:1d28:b0:443:e2e3:6221 with SMTP id f8-20020a0562141d2800b00443e2e36221mr9050012qvd.6.1649282260493; Wed, 06 Apr 2022 14:57:40 -0700 (PDT) Received: from mail-yw1-f180.google.com (mail-yw1-f180.google.com. [209.85.128.180]) by smtp.gmail.com with ESMTPSA id u17-20020ac858d1000000b002e1cdbb50besm14195906qta.78.2022.04.06.14.57.39 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Apr 2022 14:57:40 -0700 (PDT) Received: by mail-yw1-f180.google.com with SMTP id 00721157ae682-2e5e9025c20so41988837b3.7 for ; Wed, 06 Apr 2022 14:57:39 -0700 (PDT) X-Received: by 2002:a81:b04a:0:b0:2eb:6919:f27 with SMTP id x10-20020a81b04a000000b002eb69190f27mr9061866ywk.54.1649282259237; Wed, 06 Apr 2022 14:57:39 -0700 (PDT) MIME-Version: 1.0 References: <20220406192956.3291614-1-vladimir.oltean@nxp.com> <20220406192956.3291614-2-vladimir.oltean@nxp.com> <20220406194711.3apwre6dbzbtw3ou@skbuf> In-Reply-To: <20220406194711.3apwre6dbzbtw3ou@skbuf> From: Willem de Bruijn Date: Wed, 6 Apr 2022 17:57:03 -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: Willem de Bruijn , Sasha Levin , Greg Kroah-Hartman , stable , lkml , 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=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 6, 2022 at 5:15 PM Vladimir Oltean wrote: > > 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 > > > > For 4.14.y cherry-pick: > > > > 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? In this case I did, so we're good. In general, perhaps it's fine to add such comments below the original Signed-off-by/Acked-by/.. block? Not sure what the common approach is, if any.