On Wednesday, June 29, 2016 23:45:57 Sven Eckelmann wrote:
The debug messages of _batadv_update_route were printed before the actual route change is done. At this point it is not really known which curr_router will be replaced. Thus the messages could print the wrong operation.
Printing the debug messages after the operation was done avoids this problem.
Signed-off-by: Sven Eckelmann sven@narfation.org
net/batman-adv/routing.c | 43 +++++++++++++++++-------------------------- 1 file changed, 17 insertions(+), 26 deletions(-)
Applied in revision 728cf51.
Thanks, Marek