From: Sven Eckelmann Date: Tue, 19 Oct 2010 09:59:10 +0000 (+0200) Subject: Staging: batman-adv: Don't dereference unchecked incoming soft_iface X-Git-Tag: v2.6.37-rc1~60^2~3^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b37bc2c711b2a76ef3daa9437bbf9c58411afbd;p=pandora-kernel.git Staging: batman-adv: Don't dereference unchecked incoming soft_iface send_packet derefenced forw_packet->if_incoming and checked if forw_packet->if_incoming is NULL. This cannot happen, but still makes irritates when reading through the functions. Reported-by: Dan Carpenter Signed-off-by: Sven Eckelmann Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed