]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite394216efd9acd55788c143928e88e67179e7d39
treeb53a4b4317564939ab2608a4f07217e68de25885
parent3d18bc45fc67718d5c787f870405d0706075ad35
parent49e01ef2a8938afca3b9d5d7aeb1098693e31153
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.