Staging: batman-adv: Fix aggregation direct-link bug
authorLinus Lüssing <linus.luessing@web.de>
Fri, 7 May 2010 19:47:09 +0000 (21:47 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 20:42:38 +0000 (13:42 -0700)
commitbdc0c7ebf770e21d024c2e94c3d578392b59c5b1
tree8daf5c0a7ff0529902903246fb9fcc5dfd06ebec
parentbd13b616aa9d082dce760759b7473da5ed399452
Staging: batman-adv: Fix aggregation direct-link bug

So far, neighbour's secondary interface OGMs can involuntarily
piggyback on primary interface OGMs that arrived on the same secondary
interface before. Secondary interface OGMs should NEVER leave their
direct neighbour broadcast domain! This patch ensures that secondary
interface OGMs can only be aggregated to other secondary interface OGMs.

Signed-off-by: Linus Lüssing <linus.luessing@web.de>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/batman-adv/aggregation.c