From: Ralf Baechle
Date: Fri, 19 Jun 2015 00:46:53 +0200
> 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: sta...@vger.kernel.org #2.6.11+
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: sta...@vger.kernel.org #2.6.11+
diff --git a/net/rose/af_rose.c b/net/rose/af_rose.c
index 8ae6030..dd3