diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-05-09 09:04:55 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-05-10 17:48:35 -0700 |
commit | 9ec7ea1462084df695f34c5ac2d2d2250d9d6897 (patch) | |
tree | 688e1936d6e9e6b37beb090fb7e8cc65318662f3 /Documentation/networking | |
parent | ddccc9ef55992716ad477d38fbcd9f8f1d34fc67 (diff) | |
download | linux-9ec7ea1462084df695f34c5ac2d2d2250d9d6897.tar.bz2 |
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')
-rw-r--r-- | Documentation/networking/index.rst | 1 | ||||
-rw-r--r-- | Documentation/networking/skbuff.rst | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/networking/index.rst b/Documentation/networking/index.rst index 72cf33579b78..a1c271fe484e 100644 --- a/Documentation/networking/index.rst +++ b/Documentation/networking/index.rst @@ -97,6 +97,7 @@ Contents: sctp secid seg6-sysctl + skbuff smc-sysctl statistics strparser 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 |