caif: Bugfix - handle mem-allocation failures
authorSjur Braendeland <sjur.brandeland@stericsson.com>
Fri, 21 May 2010 02:16:09 +0000 (02:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 May 2010 06:57:42 +0000 (23:57 -0700)
commit638e628a600a5c542d46dfb06771cf9c229ef5f3
tree777d4d2b9aee8a1d4b0ce522bf3957023a9bfb7e
parent7aecf4944f2c05aafb73b4820e469c74b4ec8517
caif: Bugfix - handle mem-allocation failures

Discovered bugs when injecting slab allocation failures.
Add checks on all memory allocation.

Signed-off-by: Sjur Braendeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/caif/cfpkt_skbuff.c
net/caif/cfserl.c
net/caif/cfsrvl.c