aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/gateway_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/batman-adv/gateway_client.c')
-rw-r--r--net/batman-adv/gateway_client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/batman-adv/gateway_client.c b/net/batman-adv/gateway_client.c
index 053bb318c7a7..a9209466ddaf 100644
--- a/net/batman-adv/gateway_client.c
+++ b/net/batman-adv/gateway_client.c
@@ -744,7 +744,8 @@ bool batadv_gw_out_of_range(struct batadv_priv *bat_priv,
744 744
745 ethhdr = (struct ethhdr *)skb->data; 745 ethhdr = (struct ethhdr *)skb->data;
746 orig_dst_node = batadv_transtable_search(bat_priv, ethhdr->h_source, 746 orig_dst_node = batadv_transtable_search(bat_priv, ethhdr->h_source,
747 ethhdr->h_dest); 747 ethhdr->h_dest,
748 BATADV_NO_FLAGS);
748 if (!orig_dst_node) 749 if (!orig_dst_node)
749 goto out; 750 goto out;
750 751