]> 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)
commit68a6afe4d62ae67036a01c58b4ee3c11729544ef
tree30133049da8d58a97e7231d61af2f56647ff120e
parent69efb8284de42c69b4ca74c2050b23715a3cce73
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