diff options
author | 2024-03-05 12:04:33 +0100 | |
---|---|---|
committer | 2024-03-06 20:24:10 -0800 | |
commit | af250c27ea1c404e210fc3a308b20f772df584d6 (patch) | |
tree | f61af2a8eb61ccb1772fbe942c6ba284b618298a /drivers/net/macsec.c | |
parent | mptcp: set error messages for set_flags (diff) | |
download | wireguard-linux-af250c27ea1c404e210fc3a308b20f772df584d6.tar.xz wireguard-linux-af250c27ea1c404e210fc3a308b20f772df584d6.zip |
mptcp: drop lookup_by_id in lookup_addr
When the lookup_by_id parameter of __lookup_addr() is true, it's the same
as __lookup_addr_by_id(), it can be replaced by __lookup_addr_by_id()
directly. So drop this parameter, let __lookup_addr() only looks up address
on the local address list by comparing addresses in it, not address ids.
Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>
Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://lore.kernel.org/r/20240305-upstream-net-next-20240304-mptcp-misc-cleanup-v1-4-c436ba5e569b@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/macsec.c')
0 files changed, 0 insertions, 0 deletions