]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: Move deinitialization of soft-interface to destructor
authorSven Eckelmann <sven@narfation.org>
Mon, 11 Feb 2013 09:10:23 +0000 (17:10 +0800)
committerAntonio Quartulli <ordex@autistici.org>
Wed, 27 Mar 2013 09:27:32 +0000 (10:27 +0100)
commite8c53563ae23adc5526bafbbcf230ddca41e969c
treec5cfaead0cd4d195d026c5f0f9c83ce0081e1554
parent0432d0be7ac91d3ec50122e4a2c43df120ea6f95
batman-adv: Move deinitialization of soft-interface to destructor

The deinitialization of the soft-interface created in ndo_init/constructor
should be done in the destructor and not directly before calling
unregister_netdevice

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>
net/batman-adv/soft-interface.c