diff options
author | Antonio Quartulli <antonio@open-mesh.com> | 2013-06-04 06:11:39 -0400 |
---|---|---|
committer | Antonio Quartulli <antonio@meshcoding.com> | 2013-10-19 09:11:21 -0400 |
commit | c018ad3de61a1dc4194879a53e5559e094aa7b1a (patch) | |
tree | 4edb9c156b618dae46d38249a5c817e0d1f1e2b0 /net/batman-adv/gateway_client.c | |
parent | bc58eeef744df93e141678ef44452f0869cd563d (diff) |
batman-adv: add the VLAN ID attribute to the TT entry
To make the translation table code VLAN-aware, each entry
must carry the VLAN ID which it belongs to. This patch adds
such attribute to the related TT structures.
Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'net/batman-adv/gateway_client.c')
-rw-r--r-- | net/batman-adv/gateway_client.c | 3 |
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 | ||