Re: [AX.25 7/7] Fix unchecked rose_add_loopback_neigh uses

2006-12-14 Thread David Miller
From: Ralf Baechle <[EMAIL PROTECTED]> Date: Thu, 14 Dec 2006 23:42:13 +0100 > 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

[AX.25 7/7] Fix unchecked rose_add_loopback_neigh uses

2006-12-14 Thread Ralf Baechle
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 <[EMAIL PROTECTED]> include/net/rose.h |4 ++-- net/ro