]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[AX.25]: Fix unchecked ax25_linkfail_register uses
authorRalf Baechle <ralf@linux-mips.org>
Thu, 14 Dec 2006 23:51:23 +0000 (15:51 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 18 Dec 2006 05:59:11 +0000 (21:59 -0800)
commita4282717c102aef2bfab1d947c392de4d8abc0ec
treeef178b6eea8cd9a8790ae58a6c19ff2aa877bcc1
parent58bc57471514be9206ebcda90b1076f6be41d1c7
[AX.25]: Fix unchecked ax25_linkfail_register uses

ax25_linkfail_register 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/ax25.h
net/ax25/ax25_iface.c
net/netrom/af_netrom.c
net/rose/af_rose.c