]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: do not silently ignore wrong condition
authorAntonio Quartulli <ordex@autistici.org>
Sat, 30 Mar 2013 16:22:00 +0000 (17:22 +0100)
committerAntonio Quartulli <ordex@autistici.org>
Wed, 29 May 2013 00:44:54 +0000 (02:44 +0200)
commit8577045457fa470dcfd7f07a4583ca8eba848068
treeaaf74d02aeca697d21e9abc23d9a3e705cde50c0
parent95c92e3ef73445192041f3e3bf63409633a3229c
batman-adv: do not silently ignore wrong condition

Only one neigh_node per orig_node should match a given
neighbor address, therefore, if more than one matching
neigh_node is found, a WARNING has to be triggered to let
the user know that something is wrong in the originator
state instead of silently skipping the error.

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
net/batman-adv/bat_iv_ogm.c