batman-adv: Drop reference to netdevice on last reference
authorSven Eckelmann <sven@narfation.org>
Tue, 5 Jan 2016 11:06:26 +0000 (12:06 +0100)
committerAntonio Quartulli <a@unstable.cc>
Wed, 10 Feb 2016 15:23:57 +0000 (23:23 +0800)
commit140ed8e87ca8f4875c2b146cdb2cdbf0c9ac6080
tree40d25e2ba9d092af27cb7d1c322d0f2c7a8d1a69
parentaaa5672052cb0f18a5ab0ab19e9ef71c50e018a8
batman-adv: Drop reference to netdevice on last reference

The references to the network device should be dropped inside the release
function for batadv_hard_iface similar to what is done with the batman-adv
internal datastructures.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Antonio Quartulli <a@unstable.cc>
net/batman-adv/hard-interface.c
net/batman-adv/hard-interface.h