diff options
author | Panagiotis Issaris <takis@issaris.org> | 2006-08-15 23:01:07 (GMT) |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-08-17 23:29:55 (GMT) |
commit | d4274b51a5c8147b5341e15927368e75b632d297 (patch) | |
tree | fbf4f8b5929bc89acada9b3cbfc588cf1f159e92 /net/core | |
parent | c0956bd25161bff45304d482cda51ca4b3b572f1 (diff) | |
download | linux-fsl-qoriq-d4274b51a5c8147b5341e15927368e75b632d297.tar.xz |
[PPP]: handle kmalloc failures and convert to using kzalloc
The PPP code contains two kmalloc()s followed by memset()s without
handling a possible memory allocation failure. (Suggested by Joe
Perches).
And furthermore, conversions from kmalloc+memset to kzalloc.
[akpm@osdl.org: fix error-path leak]
[akpm@osdl.org: cleanups]
[paulus@samba.org: don't add useless printk and cardmap_destroy calls]
Signed-off-by: Panagiotis Issaris <takis@issaris.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions