]> git.ipfire.org Git - thirdparty/linux.git/commit
vxlan: Rename FDB Tx lookup function
authorIdo Schimmel <idosch@nvidia.com>
Tue, 15 Apr 2025 12:11:39 +0000 (15:11 +0300)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 22 Apr 2025 09:11:16 +0000 (11:11 +0200)
commit5cde39ea38813ebb5bf07922a3ba60871edebf99
tree5488ddee938624ae81308488e51be84d70c0f026
parent54f45187b635f8c4c1e554a2ed347bba7d27dfbd
vxlan: Rename FDB Tx lookup function

vxlan_find_mac() is only expected to be called from the Tx path as it
updates the 'used' timestamp. Rename it to vxlan_find_mac_tx() to
reflect that and to avoid incorrect updates of this timestamp like those
addressed by commit 9722f834fe9a ("vxlan: Avoid unnecessary updates to
FDB 'used' time").

No functional changes intended.

Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Link: https://patch.msgid.link/20250415121143.345227-12-idosch@nvidia.com
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/vxlan/vxlan_core.c