]> err.no Git - linux-2.6/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)
commit8d5cf596d10d740b69b5f4bbdb54b85abf75810d
treef0fd6a296f1b90d5fb1898ce1932c6ec5d245465
parentc9266b99e2def0a456766220df09713f8e765891
[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