]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add refcnt to struct l2cap_chan
authorGustavo F. Padovan <padovan@profusion.mobi>
Tue, 17 May 2011 17:34:52 +0000 (14:34 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Mon, 13 Jun 2011 17:55:33 +0000 (14:55 -0300)
commit508a28ed5cbc4d35add99c4e025c4f34472fc9f6
tree30133049da8d58a97e7231d61af2f56647ff120e
parentc07b337738480f03c8df7eb435380a780092e71e
Bluetooth: Add refcnt to struct l2cap_chan

struct l2cap_chan has now its own refcnt that is compatible with the
socket refcnt, i.e., we won't see sk_refcnt = 0 and chan->refcnt > 0.

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
include/net/bluetooth/l2cap.h
net/bluetooth/l2cap_core.c