]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: Drop tt queries with foreign dest
authorMartin Hundebøll <martin@hundeboll.net>
Thu, 5 Jul 2012 09:34:28 +0000 (11:34 +0200)
committerAntonio Quartulli <ordex@autistici.org>
Thu, 23 Aug 2012 12:20:19 +0000 (14:20 +0200)
commit564560e47f02037cc92e997b0a6273631f047241
treeff7c06ebe3fa8fd70efe159c5b5aa3ba5a470cd2
parent48a1efccdfa523abf0c20f5ebc48199251ae56a6
batman-adv: Drop tt queries with foreign dest

When enabling promiscuous mode, tt queries for other hosts might be
received. Before this patch, "foreign" tt queries were processed like
any other query and thus forwarded to its destination again and thereby
causing a loop.

This patch adds a check to drop foreign tt queries.

Signed-off-by: Martin Hundebøll <martin@hundeboll.net>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
net/batman-adv/routing.c