diff options
| author | Eric Dumazet <edumazet@google.com> | 2026-01-30 21:02:57 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-02-02 17:49:29 -0800 |
| commit | 2855e4925416c5900a9c6cece11f4a2e56bf6e63 (patch) | |
| tree | b0a7dcb0d1ba6ce960ff7d143aa37fae5779ca24 /include/linux/task_work.h | |
| parent | 1bc46dd209667346c5aa56c351995e7c260696d0 (diff) | |
ipv6: add some unlikely()/likely() clauses in ip6_output.c
1) daddr is unlikely a multicast in ip6_finish_output2().
2) ip6_finish_output_gso_slowpath_drop() should not be called often.
3) ip6_fragment() should not be called often.
4) opt is unlikely to be set.
5) ip6_xmit() and ip6_forward() mostly sends not too big packets.
6) Most __ip6_make_skb() calls are for UDP packets,
not ICMPV6 ones.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20260130210303.3888261-3-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/task_work.h')
0 files changed, 0 insertions, 0 deletions
