linux/net/caif
sjur.brandeland@stericsson.com bd30ce4bc0 caif: Use RCU instead of spin-lock in caif_dev.c
RCU read_lock and refcount is used to protect in-flight packets.

Use RCU and counters to manage freeing lower part of the CAIF stack if
CAIF-link layer is removed. Old solution based on delaying removal of
device is removed.

When CAIF link layer goes down the use of CAIF link layer is disabled
(by calling caif_set_phy_state()), but removal and freeing of the
lower part of the CAIF stack is done when Link layer is unregistered.

Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-05-15 17:45:54 -04:00
..
caif_config_util.c caif: code cleanup 2011-04-11 15:08:47 -07:00
caif_dev.c caif: Use RCU instead of spin-lock in caif_dev.c 2011-05-15 17:45:54 -04:00
caif_socket.c caif: Don't resend if dev_queue_xmit fails. 2011-04-11 15:08:48 -07:00
cfcnfg.c caif: code cleanup 2011-04-11 15:08:47 -07:00
cfctrl.c caif: code cleanup 2011-04-11 15:08:47 -07:00
cfdbgl.c caif: Bugfix for socket priority, bindtodev and dbg channel. 2010-11-03 18:50:03 -07:00
cfdgml.c caif: Don't resend if dev_queue_xmit fails. 2011-04-11 15:08:48 -07:00
cffrml.c caif: Use rcu_read_lock in CAIF mux layer. 2011-05-15 17:45:54 -04:00
cfmuxl.c caif: Use rcu_read_lock in CAIF mux layer. 2011-05-15 17:45:54 -04:00
cfpkt_skbuff.c caif: code cleanup 2011-04-11 15:08:47 -07:00
cfrfml.c caif: Bugfix for socket priority, bindtodev and dbg channel. 2010-11-03 18:50:03 -07:00
cfserl.c caif: Don't resend if dev_queue_xmit fails. 2011-04-11 15:08:48 -07:00
cfsrvl.c caif: code cleanup 2011-04-11 15:08:47 -07:00
cfutill.c caif: Don't resend if dev_queue_xmit fails. 2011-04-11 15:08:48 -07:00
cfveil.c caif: Don't resend if dev_queue_xmit fails. 2011-04-11 15:08:48 -07:00
cfvidl.c caif: Don't resend if dev_queue_xmit fails. 2011-04-11 15:08:48 -07:00
chnl_net.c net/caif: Fix dangling list pointer in freed object on error. 2011-02-08 14:31:31 -08:00
Kconfig caif: Kconfig and Makefile fixes 2010-06-29 00:06:38 -07:00
Makefile Net: caif: Makefile: Remove deprecated items 2010-11-22 08:16:09 -08:00