[PATCH 3.16.y-ckt 102/185] NET: ROSE: Don't dereference NULL neighbour pointer.

2015-07-15 Thread Luis Henriques
3.16.7-ckt15 -stable review patch. If anyone has any objections, please let me know. -- From: Ralf Baechle commit d496f7842aada20c61e6044b3395383fa972872c upstream. A ROSE socket doesn't necessarily always have a neighbour pointer so check if the neighbour pointer is valid

[PATCH 3.16.y-ckt 102/185] NET: ROSE: Don't dereference NULL neighbour pointer.

2015-07-15 Thread Luis Henriques
3.16.7-ckt15 -stable review patch. If anyone has any objections, please let me know. -- From: Ralf Baechle r...@linux-mips.org commit d496f7842aada20c61e6044b3395383fa972872c upstream. A ROSE socket doesn't necessarily always have a neighbour pointer so check if the neighbour