diff options
author | Vladimir Oltean <[email protected]> | 2021-10-26 17:27:38 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-10-27 14:54:02 +0100 |
commit | 4731b6d6b257dfa7c684a05fe5bc31788f0314c9 (patch) | |
tree | c5c131d8c22fbfc59bfc790b6a9c7c05bea5dd0d /scripts/gdb/linux/lists.py | |
parent | 5f94a5e276ae8e592bdeea80becc262f7b193033 (diff) |
net: bridge: rename fdb_insert to fdb_add_local
fdb_insert() is not a descriptive name for this function, and also easy
to confuse with __br_fdb_add(), fdb_add_entry(), br_fdb_update().
Even more confusingly, it is not even related in any way with those
functions, neither one calls the other.
Since fdb_insert() basically deals with the creation of a BR_FDB_LOCAL
entry and is called only from functions where that is the intention:
- br_fdb_changeaddr
- br_fdb_change_mac_address
- br_fdb_insert
then rename it to fdb_add_local(), because its removal counterpart is
called fdb_delete_local().
Signed-off-by: Vladimir Oltean <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Acked-by: Nikolay Aleksandrov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions