[AX.25]: Fix unchecked rose_add_loopback_neigh uses
authorRalf Baechle <ralf@linux-mips.org>
Thu, 14 Dec 2006 23:52:13 +0000 (15:52 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 18 Dec 2006 05:59:14 +0000 (21:59 -0800)
rose_add_loopback_neigh uses kmalloc and the callers were ignoring the
error value.  Rewrite to let the caller deal with the allocation.  This
allows the use of static allocation of kmalloc use entirely.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found