Sven Eckelmann e44d8fe2b5 batman-adv: Disallow regular interface as mesh device
When trying to associate a net_device with another net_device which
already exists, batman-adv assumes that this interface is a fully
initialized batman mesh interface without checking it. The behaviour
when accessing data behind netdev_priv of a random net_device is
undefined and potentially dangerous.

Reported-by: Linus Lüssing <linus.luessing@ascom.ch>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
2011-03-05 12:52:09 +01:00
..
2011-01-11 09:58:07 -06:00
2010-10-25 13:09:44 -07:00
2011-01-15 20:58:11 -08:00
2011-01-06 11:16:54 -08:00
2011-01-12 19:00:40 -08:00
2010-10-21 15:44:13 +02:00
2010-12-19 21:59:35 -08:00
2011-01-10 13:33:17 -08:00
2010-12-16 13:44:24 -08:00
2010-10-15 15:53:27 +02:00