From: David S. Miller <davem@davemloft.net>
Date: Tue, 13 May 2014 16:53:36 +0000 (-0400)
Subject: Merge tag 'batman-adv-fix-for-davem' of git://git.open-mesh.org/linux-merge
X-Git-Tag: firefly_0821_release~176^2~3875^2~41
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6262971a8a5082e3662238f50e3f3c351a2e552f;p=firefly-linux-kernel-4.4.55.git

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.
---

6262971a8a5082e3662238f50e3f3c351a2e552f