From: Sven Eckelmann Date: Tue, 10 May 2011 09:22:37 +0000 (+0200) Subject: batman-adv: Ensure that we really have route changes in update_route X-Git-Tag: v3.1-rc1~316^2~412^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb899b89f46eb1fd6f62a4c360f6511b9714e479;p=pandora-kernel.git batman-adv: Ensure that we really have route changes in update_route 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 reading it without this test. Signed-off-by: Sven Eckelmann --- Reading git-diff-tree failed