aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWangYuli <wangyuli@uniontech.com>2025-03-18 15:46:56 +0800
committerJakub Kicinski <kuba@kernel.org>2025-03-24 12:14:16 -0700
commit6d1929475e361ef4e1972da600dfa3cea060a184 (patch)
tree349da4d13e68a4a62548ebf186c9ae3eda2d79a9
parentdocs: fix the path of example code and example commands for device memory TCP (diff)
downloadlinux-6d1929475e361ef4e1972da600dfa3cea060a184.tar.gz
linux-6d1929475e361ef4e1972da600dfa3cea060a184.zip
docs: networking: strparser: Fix a typo
The context indicates that 'than' is the correct word instead of 'then', as a comparison is being performed. Given that 'then' is also a valid English word, checkpatch.pl wouldn't have picked up on this spelling error. This typo was caught by AI during code review. Suggested-by: Wentao Guan <guanwentao@uniontech.com> Signed-off-by: WangYuli <wangyuli@uniontech.com> Reviewed-by: Yanteng Si <si.yanteng@linux.dev> Link: https://patch.msgid.link/A43BEA49ED5CC6E5+20250318074656.644391-1-wangyuli@uniontech.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
-rw-r--r--Documentation/networking/strparser.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/networking/strparser.rst b/Documentation/networking/strparser.rst
index 7f623d1db72a..8dc6bb04c710 100644
--- a/Documentation/networking/strparser.rst
+++ b/Documentation/networking/strparser.rst
@@ -180,7 +180,7 @@ There are seven callbacks:
struct contains two fields: offset and full_len. Offset is
where the message starts in the skb, and full_len is the
the length of the message. skb->len - offset may be greater
- then full_len since strparser does not trim the skb.
+ than full_len since strparser does not trim the skb.
::