Staging: batman-adv: fix crash when new OGM is generated
authorMarek Lindner <lindner_marek@yahoo.de>
Tue, 19 Oct 2010 09:59:14 +0000 (11:59 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 19 Oct 2010 17:04:16 +0000 (10:04 -0700)
commit15f00687e3b7b88c23d498d2c65e5911d8efa214
tree9a8db7e7ca7bf53c4f759648213464caf850b0fc
parent24fb009bae18f2ef712800ee9b2f52c177d9d3f9
Staging: batman-adv: fix crash when new OGM is generated

If aggregation is not enabled the local translation table can grow
much bigger and expects to fill a full ethernet packet.

Reported-by: Sam Yeung <sam.cwyeung@gmail.com>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/batman-adv/aggregation.c