From: Ralf Baechle Date: Thu, 14 Dec 2006 23:50:01 +0000 (-0800) Subject: [AX.25]: Fix unchecked ax25_protocol_register uses. X-Git-Tag: v2.6.20-rc2~107 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d5cf596d10d740b69b5f4bbdb54b85abf75810d;p=pandora-kernel.git [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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed