linux/include/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_dev.h caif: code cleanup 2011-04-11 15:08:47 -07:00
caif_device.h net-caif: add CAIF Link layer device header files 2010-03-30 19:08:45 -07:00
caif_layer.h caif: Use link layer MTU instead of fixed MTU 2010-06-20 19:46:06 -07:00
caif_shm.h caif-u5500: Adding shared memory include 2010-10-27 12:29:51 -07:00
caif_spi.h caif: SPI-driver bugfix - incorrect padding. 2010-11-03 18:50:03 -07:00
cfcnfg.h caif: Use RCU instead of spin-lock in caif_dev.c 2011-05-15 17:45:54 -04:00
cfctrl.h caif: code cleanup 2011-04-11 15:08:47 -07:00
cffrml.h caif: Use rcu_read_lock in CAIF mux layer. 2011-05-15 17:45:54 -04:00
cfmuxl.h caif: code cleanup 2011-04-11 15:08:47 -07:00
cfpkt.h caif: code cleanup 2011-04-11 15:08:47 -07:00
cfserl.h
cfsrvl.h caif: code cleanup 2011-04-11 15:08:47 -07:00