diff options
author | Marek Lindner <lindner_marek@yahoo.de> | 2011-02-18 13:28:08 +0100 |
---|---|---|
committer | Marek Lindner <lindner_marek@yahoo.de> | 2011-03-05 12:50:14 +0100 |
commit | 39901e716275da4e831b40f9e45a1b61d6a776dc (patch) | |
tree | a7db25062f0e3df9b7f878adaeda8aadd5644181 /net/batman-adv/main.c | |
parent | batman-adv: Fix possible buffer overflow in softif neigh list output (diff) | |
download | linux-39901e716275da4e831b40f9e45a1b61d6a776dc.tar.xz linux-39901e716275da4e831b40f9e45a1b61d6a776dc.zip |
batman-adv: separate ethernet comparing calls from hash functions
Note: The function compare_ether_addr() provided by the Linux kernel
requires aligned memory.
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'net/batman-adv/main.c')
-rw-r--r-- | net/batman-adv/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/main.c b/net/batman-adv/main.c index 06d956c91c27..3f977eab2987 100644 --- a/net/batman-adv/main.c +++ b/net/batman-adv/main.c @@ -161,7 +161,7 @@ int is_my_mac(uint8_t *addr) if (batman_if->if_status != IF_ACTIVE) continue; - if (compare_orig(batman_if->net_dev->dev_addr, addr)) { + if (compare_eth(batman_if->net_dev->dev_addr, addr)) { rcu_read_unlock(); return 1; } |