linux-stable/net/caif
Dan Carpenter 5bb20ed863 caif: add error handling for allocation
The allocation of "phyinfo" wasn't checked, and also the allocation
wasn't freed on error paths.  Sjur Brændeland pointed out as well
that "phy_driver" should be freed on the error path too.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-10-03 13:45:49 -04:00
..
Kconfig caif: Kconfig and Makefile fixes 2010-06-29 00:06:38 -07:00
Makefile caif: prepare support for namespaces 2011-05-15 17:45:55 -04:00
caif_dev.c caif: fix a potential NULL dereference 2011-09-16 17:40:34 -04:00
caif_socket.c caif: Fixes freeze on Link layer removal. 2011-05-22 20:11:47 -04:00
cfcnfg.c caif: add error handling for allocation 2011-10-03 13:45:49 -04:00
cfctrl.c caif: Remove OOM messages, use kzalloc 2011-08-28 17:16:13 -04:00
cfdbgl.c caif: Remove OOM messages, use kzalloc 2011-08-28 17:16:13 -04:00
cfdgml.c caif: Remove OOM messages, use kzalloc 2011-08-28 17:16:13 -04:00
cffrml.c caif: Remove OOM messages, use kzalloc 2011-08-28 17:16:13 -04:00
cfmuxl.c rcu: convert uses of rcu_assign_pointer(x, NULL) to RCU_INIT_POINTER 2011-08-02 04:29:23 -07:00
cfpkt_skbuff.c caif: remove unesesarry exports 2011-05-15 17:45:56 -04:00
cfrfml.c caif: Remove OOM messages, use kzalloc 2011-08-28 17:16:13 -04:00
cfserl.c caif: Remove OOM messages, use kzalloc 2011-08-28 17:16:13 -04:00
cfsrvl.c caif: Remove OOM messages, use kzalloc 2011-08-28 17:16:13 -04:00
cfutill.c caif: Remove OOM messages, use kzalloc 2011-08-28 17:16:13 -04:00
cfveil.c caif: Remove OOM messages, use kzalloc 2011-08-28 17:16:13 -04:00
cfvidl.c caif: Remove OOM messages, use kzalloc 2011-08-28 17:16:13 -04:00
chnl_net.c Remove redundant linux/version.h includes from net/ 2011-06-21 16:03:17 -07:00