Merge tag 'batman-adv-fix-for-davem' of git://git.open-mesh.org/linux-merge
authorDavid S. Miller <davem@davemloft.net>
Tue, 13 May 2014 16:53:36 +0000 (12:53 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 May 2014 16:53:36 +0000 (12:53 -0400)
commit6262971a8a5082e3662238f50e3f3c351a2e552f
treeb53a4b4317564939ab2608a4f07217e68de25885
parent2176d5d41891753774f648b67470398a5acab584
parent709de13f0c532fe9c468c094aff069a725ed57fe
Merge tag 'batman-adv-fix-for-davem' of git://git.open-mesh.org/linux-merge

Included changes:
- properly release neigh_ifinfo in batadv_iv_ogm_process_per_outif()
- properly release orig_ifinfo->router when freeing orig_ifinfo
- properly release neigh_node objects during periodic check
- properly release neigh_info objects when the related hard_iface
  is free'd

These changes are all very important because they fix some
reference counting imbalances that lead to the
impossibility of releasing the netdev object used by
batman-adv on shutdown.
The consequence is that such object cannot be destroyed by
the networking stack (the refcounter does not reach zero)
thus bringing the system in hanging state during a normal
reboot operation or a network reconfiguration.