From: Ralf Baechle Date: Thu, 18 Jun 2015 22:46:53 +0000 (+0200) Subject: NET: ROSE: Don't dereference NULL neighbour pointer. X-Git-Tag: omap-for-v4.2/fixes-rc1^2~134^2~2^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d496f7842aada20c61e6044b3395383fa972872c;p=pandora-kernel.git NET: ROSE: Don't dereference NULL neighbour pointer. A ROSE socket doesn't necessarily always have a neighbour pointer so check if the neighbour pointer is valid before dereferencing it. Signed-off-by: Ralf Baechle Tested-by: Bernard Pidoux Cc: stable@vger.kernel.org #2.6.11+ Signed-off-by: David S. Miller --- Reading git-diff-tree failed