summaryrefslogtreecommitdiff
path: root/net/batman-adv/debugfs.c
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2016-06-29 21:45:57 (GMT)
committerSimon Wunderlich <sw@simonwunderlich.de>2016-08-09 05:54:34 (GMT)
commitb5dcbad25219b82408e15e6d775a406be2116af1 (patch)
treecff945986474becdfcd6b4ea62153ee66779f0df /net/batman-adv/debugfs.c
parent4d7de48c797c9207412da4e350c5170617eaf8c7 (diff)
downloadlinux-b5dcbad25219b82408e15e6d775a406be2116af1.tar.xz
batman-adv: Fix consistency of update route messages
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> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch> Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'net/batman-adv/debugfs.c')
0 files changed, 0 insertions, 0 deletions