]> git.baikalelectronics.ru Git - kernel.git/commit
[AX.25]: Fix unchecked ax25_protocol_register uses.
authorRalf Baechle <ralf@linux-mips.org>
Thu, 14 Dec 2006 23:50:01 +0000 (15:50 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 18 Dec 2006 05:59:08 +0000 (21:59 -0800)
commit49881291bbb6099f7e390e4bf501586989bed31c
treef0fd6a296f1b90d5fb1898ce1932c6ec5d245465
parent407f729f16f54d2e714430536e7306de02b9be59
[AX.25]: Fix unchecked ax25_protocol_register uses.

Replace ax25_protocol_register by ax25_register_pid which assumes the
caller has done the memory allocation.  This allows replacing the
kmalloc allocations entirely by static allocations.

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