Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

WangYuli and committed by
Jakub Kicinski
6d192947 f8e1bcec

+1 -1
+1 -1
Documentation/networking/strparser.rst
··· 180 180 struct contains two fields: offset and full_len. Offset is 181 181 where the message starts in the skb, and full_len is the 182 182 the length of the message. skb->len - offset may be greater 183 - then full_len since strparser does not trim the skb. 183 + than full_len since strparser does not trim the skb. 184 184 185 185 :: 186 186