From: Marek Lindner Date: Sun, 26 Jun 2011 19:15:13 +0000 (+0200) Subject: batman-adv: aggregation checks should use the primary_if pointer X-Git-Tag: v3.1-rc1~316^2~231^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b539e4cd3b08dddbaa2ba0f158eed3c7c2244eaf;p=pandora-kernel.git batman-adv: aggregation checks should use the primary_if pointer The packet aggregation needs to ensure that only compatible packets are aggregated. Some of the checks are based on the interface number while assuming that the first interface also is the primary interface which is not always the case. This patch addresses the issue by using the primary_if pointer. Reported-by: Antonio Quartulli Signed-off-by: Marek Lindner --- Reading git-diff-tree failed