aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/routing.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/batman-adv/routing.c')
-rw-r--r--net/batman-adv/routing.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/net/batman-adv/routing.c b/net/batman-adv/routing.c
index 35141534938e..35f76f2f7824 100644
--- a/net/batman-adv/routing.c
+++ b/net/batman-adv/routing.c
@@ -706,11 +706,11 @@ static int batadv_check_unicast_ttvn(struct batadv_priv *bat_priv,
706 if (batadv_tt_local_client_is_roaming(bat_priv, ethhdr->h_dest, vid)) { 706 if (batadv_tt_local_client_is_roaming(bat_priv, ethhdr->h_dest, vid)) {
707 if (batadv_reroute_unicast_packet(bat_priv, unicast_packet, 707 if (batadv_reroute_unicast_packet(bat_priv, unicast_packet,
708 ethhdr->h_dest, vid)) 708 ethhdr->h_dest, vid))
709 net_ratelimited_function(batadv_dbg, BATADV_DBG_TT, 709 batadv_dbg_ratelimited(BATADV_DBG_TT,
710 bat_priv, 710 bat_priv,
711 "Rerouting unicast packet to %pM (dst=%pM): Local Roaming\n", 711 "Rerouting unicast packet to %pM (dst=%pM): Local Roaming\n",
712 unicast_packet->dest, 712 unicast_packet->dest,
713 ethhdr->h_dest); 713 ethhdr->h_dest);
714 /* at this point the mesh destination should have been 714 /* at this point the mesh destination should have been
715 * substituted with the originator address found in the global 715 * substituted with the originator address found in the global
716 * table. If not, let the packet go untouched anyway because 716 * table. If not, let the packet go untouched anyway because
@@ -752,10 +752,10 @@ static int batadv_check_unicast_ttvn(struct batadv_priv *bat_priv,
752 */ 752 */
753 if (batadv_reroute_unicast_packet(bat_priv, unicast_packet, 753 if (batadv_reroute_unicast_packet(bat_priv, unicast_packet,
754 ethhdr->h_dest, vid)) { 754 ethhdr->h_dest, vid)) {
755 net_ratelimited_function(batadv_dbg, BATADV_DBG_TT, bat_priv, 755 batadv_dbg_ratelimited(BATADV_DBG_TT, bat_priv,
756 "Rerouting unicast packet to %pM (dst=%pM): TTVN mismatch old_ttvn=%u new_ttvn=%u\n", 756 "Rerouting unicast packet to %pM (dst=%pM): TTVN mismatch old_ttvn=%u new_ttvn=%u\n",
757 unicast_packet->dest, ethhdr->h_dest, 757 unicast_packet->dest, ethhdr->h_dest,
758 old_ttvn, curr_ttvn); 758 old_ttvn, curr_ttvn);
759 return 1; 759 return 1;
760 } 760 }
761 761