]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Revert "Docs/zh_CN: Translate skbuff.rst to Simplified Chinese"
authorAlex Shi <alexs@kernel.org>
Sun, 26 Oct 2025 13:29:35 +0000 (21:29 +0800)
committerAlex Shi <alexs@kernel.org>
Fri, 31 Oct 2025 06:01:35 +0000 (14:01 +0800)
This reverts commit d3e7609c6e5ec92587ed1043a985749d22cc78d1.
The commit cause a warning:
  Documentation/networking/skbuff.rst:34: WARNING: duplicate label crc, other instance in Documentation/translations/zh_CN/networking/skbuff.rst

And there's no simple way to keep the meaningful doc context and avoid the
warning, so, let's remove the doc.

Signed-off-by: Alex Shi <alexs@kernel.org>
Documentation/translations/zh_CN/networking/index.rst
Documentation/translations/zh_CN/networking/skbuff.rst [deleted file]

index 9e2520a5e35e881a280f7b78529069e63c7ae24b..c276c0993c51c8b72db03fb2d55730653472f806 100644 (file)
@@ -28,7 +28,6 @@
    netmem
    alias
    mptcp-sysctl
-   skbuff
    generic-hdlc
    timestamping
 
diff --git a/Documentation/translations/zh_CN/networking/skbuff.rst b/Documentation/translations/zh_CN/networking/skbuff.rst
deleted file mode 100644 (file)
index 2624ea8..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-.. SPDX-License-Identifier: GPL-2.0
-
-.. include:: ../disclaimer-zh_CN.rst
-
-:Original: Documentation/networking/skbuff.rst
-
-:翻译:
-
-   王亚鑫 Wang Yaxin <wang.yaxin@zte.com.cn>
-
-struct sk_buff
-==============
-
-:c:type:`sk_buff` 是表示数据包的主要网络结构体。
-
-基本sk_buff几何结构
--------------------
-
-.. kernel-doc:: include/linux/skbuff.h
-   :doc: Basic sk_buff geometry
-
-共享skb和skb克隆
-----------------
-
-:c:member:`sk_buff.users` 是一个简单的引用计数,允许
-多个实体保持 struct sk_buff 存活。 ``sk_buff.users != 1``
-的 skb 被称为共享 skb(参见 skb_shared())。
-
-skb_clone() 允许快速复制 skb。不会复制任何数据缓冲区,
-但调用者会获得一个新的元数据结构体(struct sk_buff)。
-&skb_shared_info.refcount 表示指向同一数据包数据的
-skb 数量(即克隆)。
-
-数据引用和无头skb
------------------
-
-.. kernel-doc:: include/linux/skbuff.h
-   :doc: dataref and headerless skbs
-
-校验和信息
-----------
-
-.. kernel-doc:: include/linux/skbuff.h
-   :doc: skb checksums