summaryrefslogtreecommitdiffstats
path: root/net/caif/cfcnfg.c
diff options
context:
space:
mode:
authorsjur.brandeland@stericsson.com <sjur.brandeland@stericsson.com>2011-05-13 02:44:00 +0000
committerDavid S. Miller <davem@davemloft.net>2011-05-15 17:45:54 -0400
commitbd30ce4bc0b7dc859c1d1cba7ad87e08642418b0 (patch)
treed5648773052baf985db8290774fea4907e558257 /net/caif/cfcnfg.c
parent0b1e9738deb30f4c35c0add43a52dcd0608b227e (diff)
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>
Diffstat (limited to 'net/caif/cfcnfg.c')
0 files changed, 0 insertions, 0 deletions