summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorKonstantin Shabanov <mail@etehtsea.me>2026-05-12 17:30:53 +0700
committerJakub Kicinski <kuba@kernel.org>2026-05-15 15:52:18 -0700
commit55834f0d742172b5cbc177cac88010b97bff4897 (patch)
tree9ff39c0731d25490c82f1486599df55f571915f4 /scripts/objdiff
parent822d4a8e390a08ccfaf2abb347ae670b230b196f (diff)
docs: netlink: Correct buffer sizing info
Update the docs to match the code (include/linux/netlink.h): /* * skb should fit one page. This choice is good for headerless malloc. * But we should limit to 8K so that userspace does not have to * use enormous buffer sizes on recvmsg() calls just to avoid * MSG_TRUNC when PAGE_SIZE is very large. */ #if PAGE_SIZE < 8192UL #define NLMSG_GOODSIZE SKB_WITH_OVERHEAD(PAGE_SIZE) #else #define NLMSG_GOODSIZE SKB_WITH_OVERHEAD(8192UL) #endif Signed-off-by: Konstantin Shabanov <mail@etehtsea.me> Link: https://patch.msgid.link/20260512103101.1076173-1-mail@etehtsea.me Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions