]> 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>
Thu, 13 Jun 2013 08:26:54 +0000 (01:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Jun 2013 08:26:54 +0000 (01:26 -0700)
commit5a8ef35f6577c34293b24326d30832f12c265536
tree02a3830ddfb3d9994647a2750a3f69045769d7b0
parent5a1c31c5f42f15b21883518a15e59712de5368e1
parentbc0b413f3dcc373c09586f0b57a00b35951f4c0f
Merge tag 'batman-adv-fix-for-davem' of git://git.open-mesh.org/linux-merge

Included change:
- fix "rtnl locked" concurrent executions by using rtnl_lock instead of
  rtnl_trylock. This fix enables batman-adv initialisation to do not fail just
  because somewhere else in the system another code path is holding the rtnl
  lock. It is easy to see the problem when batman-adv is trying to start
  together with other networking components.
- fix the routing protocol forwarding policy by enhancing the duplicate control
  packet detection. When the right circumstances trigger the issue, some nodes in
  the network become totally unreachable, so breaking the mesh connectivity.
- fix the Bridge Loop Avoidance component by not running the originator address
  change handling routine when the component is disabled. The routine was
  generating useless packets that were sent over the network.

Signed-off-by: David S. Miller <davem@davemloft.net>