Re: [B.A.T.M.A.N.] [PATCH 2/2] batman-adv: Ensure that we really have route changes in update_route

2011-05-22 Thread Marek Lindner
On Tuesday 10 May 2011 11:22:37 Sven Eckelmann wrote: The debug output of update_route has tests for route deleted and route added. All other situations are handled as route changed. This is not true because neigh_node and curr_router could be both NULL. The function is not called in this

[B.A.T.M.A.N.] [PATCH 2/2] batman-adv: Ensure that we really have route changes in update_route

2011-05-10 Thread Sven Eckelmann
The debug output of update_route has tests for route deleted and route added. All other situations are handled as route changed. This is not true because neigh_node and curr_router could be both NULL. The function is not called in this situation, but the code might be interpreted wrong when