commit | 37130293fd50918c5498bafafd18735a24229cb9 | [log] [tgz] |
---|---|---|
author | Sven Eckelmann <sven@narfation.org> | Mon Feb 11 17:10:22 2013 +0800 |
committer | Antonio Quartulli <ordex@autistici.org> | Wed Mar 27 10:27:31 2013 +0100 |
tree | 04bd6194d9ffd990f54b55b81fde4ad133c53574 | |
parent | e6a0b495ffee1301c239da49818008e7de3c2ae1 [diff] |
batman-adv: Move soft-interface initialization to ndo_init The initialization of an net_device object should be done in the init/constructor function and not from the outside after the register_netdevice was done to avoid race conditions. Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Acked-by: Antonio Quartulli <ordex@autistici.org> Signed-off-by: Antonio Quartulli <ordex@autistici.org>