Article View: linux.kernel.netdev
Article #5106Re: [PATCH net-next v9 2/8] hsr: Use skb_clone() while adding the HSR header
From: Sebastian Andrzej Siewior
Date: Mon, 19 Oct 2026 16:07
Date: Mon, 19 Oct 2026 16:07
10 lines
9616 bytes
9616 bytes
On 2026-10-18 15:51:38 [+0000], netdev-bot+sashiko@kernel.org wrote: > > [Severity: Medium] > Should the skb_cow_head() call above also reserve room for the skb > metadata? It currently reserves only HSR_HLEN. yes, it does. Sebastian
Technical Details
Message-ID:
<20261019160700.oa7zrh8K@linutronix.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-348698-linux-kernel-netdev=dewy.ruReferences:
<20261014-hsr_ptp-v9-2-2d20a2a0f816@linutronix.de> <179233869819.3135.906589936438355086@kernel.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-348698-linux-kernel-netdev=dewy.ru From: bigeasy@linutronix.de (Sebastian Andrzej Siewior) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next v9 2/8] hsr: Use skb_clone() while adding the HSR header Date: Mon, 19 Oct 2026 18:07:00 +0200 Organization: Usenet Network Message-ID: <20261019160700.oa7zrh8K@linutronix.de> References: <20261014-hsr_ptp-v9-2-2d20a2a0f816@linutronix.de> <179233869819.3135.906589936438355086@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Injection-Info: usenet.network; logging-data="3700752"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:h+GiLnj9Opxmd5FAyEJ1Zhzo2W8= sha256:HRtY4O8M8Py9m7Fz3J2K3/Mq29/xPVHHuZWlgvg8Krs= sha1:EOCpnh2Iq0XkobQ+GZ1gHAcr8NA= sha256:NRwW4rRJpyyUq8hObV/mEadVfY6FWCGTZkY41cvzCN8= Content-Disposition: inline List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id EEB12110AF3; Mon, 19 Oct 2026 22:55:52 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.05 X-Spam-Status: No, score=-3.05 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=linutronix.de header.b=E35Clf5O; dkim=neutral reason="invalid (unsupported algorithm ed25519-sha256)" header.d=linutronix.de header.b=oHrWc2br X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AxLilLwr_6qF; Mon, 19 Oct 2026 22:55:50 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-348698-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=linutronix.de X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mail.dewy.ru (Postfix) with ESMTPS id 7A82B110AC1; Mon, 19 Oct 2026 22:55:35 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (aws-us-west-2-korg-listserv-alma10-1.taild15c8.ts.net [100.77.114.92]) by sin.lore.kernel.org (Postfix) with ESMTP id 960621A1AFD; Mon, 19 Oct 2026 16:12:11 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1792426026; b=q3HfLZkIskm+drzUXHe13/3P1vJ27EB9HDzq2Doxxqbz1AYxoIrlvOMiyre6mzWJ7/gX rAUNf1Kw3UiSw6Ch3bY26llmXNR/+Kln2BjqSlGQnd9AADTSzjjFMxyXQr/kVO7moG0+r m8vFEKZaD9ONvlphgtPy/8SIwMq6YwDe8lRtDNgL3GLk37fYUOppGPG7vO6YC2u6YYV17 6mae5+HJuCJbtLeZRqN2goQE+jPWxis6Yd4EsKK27oqKiJO2AvMuz6+eZ3arzN3ffCuTJ VlSaCsLPaVGgctjjgOzTMGbPn0HC4r9nBdUQRedl/49Cnc1EXET7ydU70H3G1PAwD2g== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792426026; h=X-Original-To:Received:DMARC-Filter:Date:DKIM-Signature: DKIM-Signature:From:To:Cc:Subject:Message-ID:References: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; bh=+fXoYYPPFUQaaDuz0Qo24rHf8v9fPo1eCSV6ID68YwM=; b=NnKRum9KUwRHBrlETCSNdP+UVJBmYnHQ++tEaiOOXTY1/NPMAT/xlZvPKbhknWFZ27/z 58eRExrZYDsQmED8POZxtCFVekPIbYEiiSwEuJ+7B9bAAJOdoZNfNKDYEulr4ZjBj9j2t yXbM2PbEKzxRqkGcPNU1JkVdDlTOS7n5UxsMfyoCaimiNfW7wPKkY9ALvZevpL9nJ1KAV dKcxK/X88JnNvteWv0DbcVc7KqnZH+4ggzJ3+hyicuOKAPUQ2w6fUGnKAHugX6Jgi3iAl H0duUIFWVdqvTniMAvxRywQnIl4rI7hMCDUtlb5EZeienewqlgawBaRqiheKKZHaj8Q== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=rsa-sha256 header.s=2020 header.b=E35Clf5O; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=oHrWc2br; dmarc=pass header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 33568606C157; Mon, 19 Oct 2026 16:07:06 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=linutronix.de header.i=@linutronix.de header.a=rsa-sha256 header.s=2020 header.b=E35Clf5O; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=oHrWc2br X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=193.142.43.55 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792426025; b=DN7rG6o6cHevp6LzMtSX416coXcc6YCKrx/1aQ44DQ2itYFF7dVwZVkgd+wmG7xk4vqg aauhJIguklY8y9o8hw8nNcE9Ap4GCGINwRBJv3fTC1J0IqgdEfN7UQHcE53eBxo18SN8C s72OZ2sI0buOCxFSc6EPSF5CiD2btX2neAGcrHoxGHnPgp9mOj2XvzT5xOJUV0zhOgsNr C0nYB5aiGntM8sbSTD7SnhMZpu2UqY0/cQHdEAe3ocpt6Bzi00loY8BiidsZ4l6RTkz+Y T71dEGV0v0u/TApphkw7Y3m+i7rh9qmxUfKsFKBAcdOcIwda69DEY7i7HMMWuqAbo5g== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792426025; h=DMARC-Filter:Date:DKIM-Signature:DKIM-Signature:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; bh=+fXoYYPPFUQaaDuz0Qo24rHf8v9fPo1eCSV6ID68YwM=; b=MdHhvlsHnN0tAgsetTnbsh5r/2UNp3u3lL8Whkydt6YueXepiz3jmTCug695vuozhxn1 Gr4ZAxCN/wxCehQlvVfEKh7vwmsH9d7fwsrZTrE1HqOlQqLLskbwTt3divm5rGEbq8zlC L2hUpywqKp4NtDAOa+e+gAowBP+tZgR8s+DKK5dC9lFf5xb7tWhMQOpyaPpp/sEZlAvsw j5F3NjxxYwxFAbIiq6G1UW2r3g0aDr0xmEFYf7QjckRwWE9FpNG8vmUWavWqlfn7lySWr 43o+7WOFoMEl9Kzy734ADkt9Dq2LNa8aNTLgZcp6cBM4OIRseGpd+8pHIe5ZXi1YI2g== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=rsa-sha256 header.s=2020 header.b=E35Clf5O; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=oHrWc2br; arc=none smtp.remote-ip=193.142.43.55 X-Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D6A8A606AF81 for <netdev@vger.kernel.org>; Mon, 19 Oct 2026 16:07:04 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D6A8A606AF81 X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1792426022; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+fXoYYPPFUQaaDuz0Qo24rHf8v9fPo1eCSV6ID68YwM=; b=E35Clf5OuxQQ5Hfr+dzaIZM+K5y4KKSDBqXueWdMtjxfAlqVH6dIhsoQSktUIrKuAZp/Wn nh5VfTe/hdTXTFcw5N6sSoM+IbYyv5nxZ+X5tDaSzRXtvPKdRBFZ1rRi3nwCFT2QWV0sEl QTB1cSp4m1M4R4uyIOz6K0gbTzyBF/ElpyWRvaKfmcb0xw4OiquWblfa+1Egw4GnYvl/yq sigChdGuEbnJoJ0r9f3lkN+XdSEsFB4/8tlA0rFPzJ8nY7rqHnIr+jDB5h8p/xIgkNXcvd t2hjhGoz6LmY/llaaF57L6omcGGJol+RkqaaJwYWlIp+TvcKENcThWRO0MxC3Q== X-DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1792426022; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+fXoYYPPFUQaaDuz0Qo24rHf8v9fPo1eCSV6ID68YwM=; b=oHrWc2brkez9CLGegv5DRdsvOnIDOrXlq1Vu7TqFzzRFFLeX0fGYG7GEncubQVcnbPRxhq jxhvSy/KWB3b7UDQ== X-Cc: netdev@vger.kernel.org, j-rameshbabu@ti.com, andrew+netdev@lunn.ch, c-vankar@ti.com, danishanwar@ti.com, d-qiu@ti.com, davem@davemloft.net, fmaurer@redhat.com, kuba@kernel.org, neelima@ti.com, pabeni@redhat.com, praneeth@ti.com, pratheesh@ti.com, richardcochran@gmail.com, horms@kernel.org, vigneshr@ti.com, willemdebruijn.kernel@gmail.com, daniel.machon@microchip.com, edumazet@kernel.org X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <179233869819.3135.906589936438355086@kernel.org>