summaryrefslogtreecommitdiff
path: root/Documentation/networking/skbuff.rst
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2022-05-09 19:04:55 +0300
committerJakub Kicinski <kuba@kernel.org>2022-05-11 03:48:35 +0300
commit9ec7ea1462084df695f34c5ac2d2d2250d9d6897 (patch)
tree688e1936d6e9e6b37beb090fb7e8cc65318662f3 /Documentation/networking/skbuff.rst
parentddccc9ef55992716ad477d38fbcd9f8f1d34fc67 (diff)
downloadlinux-9ec7ea1462084df695f34c5ac2d2d2250d9d6897.tar.xz
skbuff: rewrite the doc for data-only skbs
The comment about shinfo->dataref split is really unhelpful, at least to me. Rewrite it and render it to skb documentation. Reviewed-by: David Ahern <dsahern@kernel.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation/networking/skbuff.rst')
-rw-r--r--Documentation/networking/skbuff.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/networking/skbuff.rst b/Documentation/networking/skbuff.rst
index b4a008feceb4..94681523e345 100644
--- a/Documentation/networking/skbuff.rst
+++ b/Documentation/networking/skbuff.rst
@@ -23,3 +23,9 @@ skb_clone() allows for fast duplication of skbs. None of the data buffers
get copied, but caller gets a new metadata struct (struct sk_buff).
&skb_shared_info.refcount indicates the number of skbs pointing at the same
packet data (i.e. clones).
+
+dataref and headerless skbs
+---------------------------
+
+.. kernel-doc:: include/linux/skbuff.h
+ :doc: dataref and headerless skbs