]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: move and restructure batadv_v_ogm_forward
authorSimon Wunderlich <simon@open-mesh.com>
Mon, 1 Feb 2016 14:21:37 +0000 (15:21 +0100)
committerAntonio Quartulli <a@unstable.cc>
Tue, 3 May 2016 18:22:03 +0000 (02:22 +0800)
commit225bc371bc8abe7a4fbb8ea16328ee56364ca22f
tree542fc03de38d56185a77bd749b8b4952ab4c6235
parentc27bae3d0b066d59f1e685143cfbc7f4e7213c71
batman-adv: move and restructure batadv_v_ogm_forward

To match our code better to the protocol description of B.A.T.M.A.N. V,
move batadv_v_ogm_forward() out into batadv_v_ogm_process_per_outif()
and move all checks directly deciding whether the OGM should be
forwarded into batadv_v_ogm_forward().

Signed-off-by: Simon Wunderlich <simon@open-mesh.com>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Antonio Quartulli <a@unstable.cc>
net/batman-adv/bat_v_ogm.c