CAPI: Use atomics for capiminor's datahandle and msgid
authorJan Kiszka <jan.kiszka@web.de>
Mon, 8 Feb 2010 10:12:38 +0000 (10:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2010 00:01:33 +0000 (16:01 -0800)
commit42792713f7f2664cf07501e1244d6da33a73ffc1
tree6e1ee9e4e4592fff6734039a77e1ef611a91cba3
parent42651b5c1aabf5eb60fbe98375ba127f4f6eb943
CAPI: Use atomics for capiminor's datahandle and msgid

The capiminor members datahandle and msgid are incremented outside any
lock, so better do this atomically.

Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/capi/capi.c