diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-12-15 02:50:01 +0300 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-18 08:59:08 +0300 |
commit | 8d5cf596d10d740b69b5f4bbdb54b85abf75810d (patch) | |
tree | f0fd6a296f1b90d5fb1898ce1932c6ec5d245465 /net/netrom/nr_route.c | |
parent | c9266b99e2def0a456766220df09713f8e765891 (diff) | |
download | linux-8d5cf596d10d740b69b5f4bbdb54b85abf75810d.tar.xz |
[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>
Diffstat (limited to 'net/netrom/nr_route.c')
0 files changed, 0 insertions, 0 deletions