diff options
| author | Kuniyuki Iwashima <kuniyu@google.com> | 2026-06-02 22:03:41 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-06-04 04:07:41 +0300 |
| commit | 1221c53985e8b0d8562bb13acd6351fd80333058 (patch) | |
| tree | cf262ee13b9c1dd2e975f13de7a89b81015b6d9c /include/linux/timerqueue.h | |
| parent | a87533a8083185bbf0d450c017662109d8a5bfc7 (diff) | |
| download | linux-1221c53985e8b0d8562bb13acd6351fd80333058.tar.xz | |
geneve: Reuse ipv6_addr_type() result in geneve_nl2info().
geneve_nl2info() calls ipv6_addr_type() to check if the remote
IPv6 address is link-local.
Then, it also calls ipv6_addr_is_multicast() for the same address.
Let's not call ipv6_addr_is_multicast() and reuse ipv6_addr_type().
Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20260602190436.139591-2-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
