]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
udp: udplite is unlikely
authorEric Dumazet <edumazet@google.com>
Mon, 5 Jan 2026 10:17:19 +0000 (10:17 +0000)
committerJakub Kicinski <kuba@kernel.org>
Wed, 7 Jan 2026 01:06:03 +0000 (17:06 -0800)
commite9cd04b2816f8ebae9b274f5c52145c8f40d4a6f
tree35b95b8046ae2b3aea3dc5ed465d2970ca115077
parente4bc5dd53bf5d46cd58f081ffccc3809e2be5373
udp: udplite is unlikely

Add some unlikely() annotations to speed up the fast path,
at least with clang compiler.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20260105101719.2378881-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/udp.h
include/net/udp.h
net/ipv4/udp.c
net/ipv6/udp.c