linux/net/caif
Eric Dumazet 4fb66b8210 caif: fix a potential NULL dereference
Commit bd30ce4bc0 (caif: Use RCU instead of spin-lock in caif_dev.c)
added a potential NULL dereference in case alloc_percpu() fails.

caif_device_alloc() can also use GFP_KERNEL instead of GFP_ATOMIC.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Sjur Brændeland <sjur.brandeland@stericsson.com>
Acked-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-09-16 17:40:34 -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: Fixes freeze on Link layer removal. 2011-05-22 20:11:47 -04:00
cfctrl.c caif: Fix freezes when running CAIF loopback device 2011-05-22 20:11:48 -04:00
cfdbgl.c
cfdgml.c
cffrml.c caif: Handle dev_queue_xmit errors. 2011-05-15 17:45:56 -04:00
cfmuxl.c caif: Bugfix - XOFF removed channel from caif-mux 2011-06-16 23:59:09 -04:00
cfpkt_skbuff.c caif: remove unesesarry exports 2011-05-15 17:45:56 -04:00
cfrfml.c caif: Move refcount from service layer to sock and dev. 2011-05-15 17:45:55 -04:00
cfserl.c
cfsrvl.c caif: Move refcount from service layer to sock and dev. 2011-05-15 17:45:55 -04:00
cfutill.c
cfveil.c caif: Handle dev_queue_xmit errors. 2011-05-15 17:45:56 -04:00
cfvidl.c
chnl_net.c Remove redundant linux/version.h includes from net/ 2011-06-21 16:03:17 -07:00
Kconfig
Makefile caif: prepare support for namespaces 2011-05-15 17:45:55 -04:00