]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commita3d384029aa304f8f3f5355d35f0ae274454f7cd
tree6bdb628b439cde292317fa5e89e14977899855a5
parenta159aaa328a02b0189774c58ae7d917b25d26852
[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