diff options
author | Antonio Quartulli <ordex@autistici.org> | 2013-04-03 21:10:26 +0400 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2013-04-18 00:31:22 +0400 |
commit | fe8a93b95145c66adf196eea4a919dfe0b7c57db (patch) | |
tree | e7251d3c966129aaba6366ca35a74a3d8b4f014a /net/batman-adv/main.h | |
parent | 361cd29cf9363505c2a35bbf9a034a22feebfb07 (diff) | |
download | linux-fe8a93b95145c66adf196eea4a919dfe0b7c57db.tar.xz |
batman-adv: make is_my_mac() check for the current mesh only
On a multi-mesh node (a node running more than one batman-adv
virtual interface) batadv_is_my_mac() has to check MAC
addresses of hard interfaces belonging to the current mesh
only.
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'net/batman-adv/main.h')
-rw-r--r-- | net/batman-adv/main.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h index ced08b936a96..d40910dfc8ea 100644 --- a/net/batman-adv/main.h +++ b/net/batman-adv/main.h @@ -162,7 +162,7 @@ extern struct workqueue_struct *batadv_event_workqueue; int batadv_mesh_init(struct net_device *soft_iface); void batadv_mesh_free(struct net_device *soft_iface); -int batadv_is_my_mac(const uint8_t *addr); +int batadv_is_my_mac(struct batadv_priv *bat_priv, const uint8_t *addr); struct batadv_hard_iface * batadv_seq_print_text_primary_if_get(struct seq_file *seq); int batadv_batman_skb_recv(struct sk_buff *skb, struct net_device *dev, |