Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp661871lqh; Fri, 31 May 2024 12:18:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXFivzGlkQYzaXZc7PolN8gXS3SgO1hZB1o63H5p7cw7iLupsUw5FBh5m8/Cl7EkqFzd9ZGkkNreMa8CJEwX54/OA0IsvtTUtq/7HGcaA== X-Google-Smtp-Source: AGHT+IEvKy3iZq2ujm7bnDsrLBu7Rxin21HldBWHVc0zMIeWJE9ndrefB1bhtCHWcgu6cr5HvGxi X-Received: by 2002:a05:622a:353:b0:43a:7886:eca7 with SMTP id d75a77b69052e-43febce898amr102185721cf.0.1717183133779; Fri, 31 May 2024 12:18:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717183133; cv=pass; d=google.com; s=arc-20160816; b=oW+f0segSIqiyVpEDbXmvaJiBpgxQx555mvLyhXtQ7Fkpp77F6o8zgZzMnTCkMiYa+ 0fLHcCLK9H0Ksjq/mdQcjCW7I3FluJqrWiwmzCUCea8Ivrxts7moerGYdn1L7s7SIDYr oKLFgk2tybEGAZOx4vTThSkB7fw9IukBvYn3eqUUWkdOWi+/YcTnSDKn9LE6RWWcRSlU bEXrtB3t9CoXAETgwmNLNsHtTLkaLbSqRFClhJ84NshLrMPGVGV8139KK7PXEVPUrYFP yKVWSEVLsn5yGB6sxpCtb+A/nQf7sQXVi/fD9JKXf02irFf9qQmFwX7H8HTIpt5pAPKB s/MA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=2TN1+yUFYmFNZ90rtkyuDL+QOaavawjDVTSZRbDBu1E=; fh=Y8IUVBgxosB9QRd9mMl6+8qKru83Fnc4V+6uMoTMlWc=; b=0vQYCXQnUZB2XUHgZJxGloqcmc+P+/R5R+TjS137lxMepc73zxUq98TAmveBV04KI+ VGrB9mxqWi+afM7pzsb/qzyJfPUidjvykryL/eX9Hr8Q9oxdUWPmuU1aDtMHSfdz4gVU dEk/O9j/YbrdVxCQcHXaQwMZGEtUlL0x9BXL/OVPqdQg9rIUZ7lGqGboXw5GH9WHvGgr ZKPfMxDpdKiHdrJGDUQ1VIUvWTV7Dk4ZLxM663WniFnGxW9tcF4THKnSXm6bwGVHRxBh uzCY8v/qeiJFwzblfhiSx4ALWR5J1tW2L0Fi8y54Cya3UvjgraojNrbjsxpRZHgHMJKN EbXg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=ffxUwYbu; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-197352-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197352-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-43ff257ec73si27635111cf.495.2024.05.31.12.18.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 12:18:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-197352-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=ffxUwYbu; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-197352-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197352-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 998A31C218E2 for ; Fri, 31 May 2024 19:18:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4757817FAD5; Fri, 31 May 2024 19:17:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="ffxUwYbu" Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DF2B917F4EA for ; Fri, 31 May 2024 19:16:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717183019; cv=none; b=K8FLgV3hAJiSeYNQzwJtOR4YlalYwlC6up5c+hCJ1b9PfJtzcZyVyOCZWTqzlRpK2efvfUNn7cwy0NgqxheiZJY4915sM7axxVz4TFLBr4Jv0cPgj3O6DBiQnBqtrPruTkprqwfI40mskKLjI2fSQYAqxA/SFeD1Vm1VjP76QBw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717183019; c=relaxed/simple; bh=2TN1+yUFYmFNZ90rtkyuDL+QOaavawjDVTSZRbDBu1E=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=j6YPbkwhwDmhALnv3UvkBGUVlb51Z/LuIOSOokCbctoxMY8fhZPhkkpPlMzVWGUZTIiPPUzbvJtQ+W3JvWLXC2R9eqeiepfLIJWWcmwIcW1+NSEZAjlF2W90k1DBQ3fIc6e8F6HS9X+rBfhi4eUKfQYF3mQNVMVV5H9Hd9ymO1k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=ffxUwYbu; arc=none smtp.client-ip=209.85.208.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-ed1-f47.google.com with SMTP id 4fb4d7f45d1cf-57a16f4b8bfso4028a12.0 for ; Fri, 31 May 2024 12:16:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1717183016; x=1717787816; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=2TN1+yUFYmFNZ90rtkyuDL+QOaavawjDVTSZRbDBu1E=; b=ffxUwYbu6MGJqbjNm6vdyr10PWvkhCwgX+RlIWGJghrzc0SO9gZ98XjXEKKt+lWK+2 UOWGP9l3ddXbRvF1UYsiSqaS1DNWgQV4N7Z1O9IbHrQCALHHr0fhaYZxe0Jr2w54zNwe RWjQZACpPnivOdtvqZf6JU9xPNLunqsPrG2tt5lzaxRWuDk1im6dWfuPoMEkKr9Def3/ mJU+CxBj80nQyqhlxgGjKt1ofqH6EpSo7ncFs6Ia5genyCfr1drWcopNnI3Cp1z0hy4b 1WrSx1t/DyYX2j9wzm9EaIodLHSBOK9Mhw6EgbY5ZWtn++IZJRidzXua4o0UChxKuvdM u+Lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717183016; x=1717787816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2TN1+yUFYmFNZ90rtkyuDL+QOaavawjDVTSZRbDBu1E=; b=KVchZwAp9dsuHZq6mlIqWM1BvyU9l4CLaUdIxt2L9Z1JRpKSbejzuKbJCaI0NDzoRW VlpKxW+pPEgDhekFshEGelxosSs6MClN5umBMcpiDOjdc6hfGnOBPNxTyP8I7CKChK6D Ds0T62z22nq80YcJA9ibfZn757xIIA0PhtQ9LIvgMzgingNwa9KlObtGNkWWgMCDKk3D J6Z86Tx6QdCPi6Xz0xLUlGc5aC/iBdvz66ZqgMPayX5fvMGWwODgZaBFMMDOj7x3Rr/a UK+NlKORwnur8okO7jCRjs5xQiio3KpXxbLoR3LX91DOmihmg6BnNoQGLUjV4hmyPipR rtvg== X-Forwarded-Encrypted: i=1; AJvYcCVwTsl8+xsii/FkTbNyFTFs9QxMILvdnWBzYU2PiSzBBRwY6k6f1n0SavxF8gxorRSEd30TMV8sqIoAZyy6Dk50hFQwWr6fMs5YLBai X-Gm-Message-State: AOJu0YzwL+9pX01EUJPXSk6FqOOE/ZBlwc1i4WdSFnJSjkss5FXxv3fK RswYhEeyJmmQAJcRC1vgTaWvcjiHvuYFRkbVNRlRVGvX3tpstNhn/iqlxiVdxoq0SmpfubTUjVh W2x4O+NrhGoZvortywhc53LdlpPSSM2GyRnm3 X-Received: by 2002:a05:6402:31f3:b0:576:b1a9:2960 with SMTP id 4fb4d7f45d1cf-57a46790f45mr19873a12.5.1717183015872; Fri, 31 May 2024 12:16:55 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <9be3733eee16bb81a7e8e2e57ebcc008f95cae08.1717105215.git.yan@cloudflare.com> In-Reply-To: From: Eric Dumazet Date: Fri, 31 May 2024 21:16:41 +0200 Message-ID: Subject: Re: [RFC net-next 1/6] net: add kfree_skb_for_sk function To: Yan Zhai Cc: netdev@vger.kernel.org, "David S. Miller" , Jakub Kicinski , Paolo Abeni , Simon Horman , David Ahern , Abhishek Chauhan , Mina Almasry , Florian Westphal , Alexander Lobakin , David Howells , Jiri Pirko , Daniel Borkmann , Sebastian Andrzej Siewior , Lorenzo Bianconi , Pavel Begunkov , linux-kernel@vger.kernel.org, kernel-team@cloudflare.com, Jesper Dangaard Brouer Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, May 31, 2024 at 9:05=E2=80=AFPM Yan Zhai wrote= : > > I don't quite follow it. I think this specific commit using skb->cb is > unnecessary so I am going to re-work it. As you initially mentioned, > maybe I should just extend kfree_skb tracepoint. I saw a similar > change dd1b527831a3("net: add location to trace_consume_skb()"), is it > something I might follow, or do you specifically mean changes like > this can annoy stable teams? > I do not think trace points arguments are put in stone. If they were, I would nack the addition of new tracepoints, to prevent ossification.