Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NET: ROSE: Don't dereference NULL neighbour pointer.
[ Upstream commit d496f78 ] 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 <ralf@linux-mips.org> Tested-by: Bernard Pidoux <f6bvp@free.fr> Cc: stable@vger.kernel.org ValveSoftware#2.6.11+ Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
- Loading branch information