]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitf06464ac6fb2518d0588951a6c434731b06aefe4
tree6bdb628b439cde292317fa5e89e14977899855a5
parent96a7fdb274ca29458f51860a1756057437c1eb45
[AX.25]: Fix unchecked rose_add_loopback_neigh uses

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>
include/net/rose.h
net/rose/rose_loopback.c
net/rose/rose_route.c