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: v3.2.71~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bbe4f448c01949084ef404eded3622086f052a6;p=pandora-kernel.git NET: ROSE: Don't dereference NULL neighbour pointer. commit d496f7842aada20c61e6044b3395383fa972872c upstream. 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 Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed