diff options
author | Marek Lindner <lindner_marek@yahoo.de> | 2011-06-26 19:15:13 (GMT) |
---|---|---|
committer | Marek Lindner <lindner_marek@yahoo.de> | 2011-07-05 12:28:55 (GMT) |
commit | b539e4cd3b08dddbaa2ba0f158eed3c7c2244eaf (patch) | |
tree | 59713bdbcf7e5787f65ea3d6c82f3128d23414b7 /net/batman-adv/originator.c | |
parent | 6a020ab452d38b3878903de931c162429072a7d7 (diff) | |
download | linux-fsl-qoriq-b539e4cd3b08dddbaa2ba0f158eed3c7c2244eaf.tar.xz |
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 <ordex@autistici.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'net/batman-adv/originator.c')
0 files changed, 0 insertions, 0 deletions