]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
caif: Fix freezes when running CAIF loopback device
authorsjur.brandeland@stericsson.com <sjur.brandeland@stericsson.com>
Sun, 22 May 2011 11:18:52 +0000 (11:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 May 2011 00:11:48 +0000 (20:11 -0400)
commit96796ea8b6b1221c7cacf68ce056d77eff0a793d
treef33631705de231bd86c827d69059526da1e00394
parent54e90fb5ca8050156d3e748ddc690ed6ea9d71ac
caif: Fix freezes when running CAIF loopback device

Fix spinlock bugs when running out of link-ids in loopback tests and
avoid allocating link-id when error is set in link-setup-response.

Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/caif/cfctrl.c