Skip to content

Commit 8794497

Browse files
Antonio Quartulliecsv
authored andcommitted
batman-adv: tt_global_del_orig() has to print the correct message
When deleting the entries, tt_global_del_orig() has to print the message passed as argument instead of a static one. Signed-off-by: Antonio Quartulli <ordex@autistici.org> Signed-off-by: Sven Eckelmann <sven@narfation.org>
1 parent c20186b commit 8794497

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎net/batman-adv/translation-table.c‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -735,9 +735,10 @@ void tt_global_del_orig(struct bat_priv *bat_priv,
735735
if (tt_global_entry->orig_node == orig_node) {
736736
bat_dbg(DBG_TT, bat_priv,
737737
"Deleting global tt entry %pM "
738-
"(via %pM): originator time out\n",
738+
"(via %pM): %s\n",
739739
tt_global_entry->addr,
740-
tt_global_entry->orig_node->orig);
740+
tt_global_entry->orig_node->orig,
741+
message);
741742
hlist_del_rcu(node);
742743
tt_global_entry_free_ref(tt_global_entry);
743744
}

0 commit comments

Comments
 (0)