diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-05-17 14:34:52 -0300 |
---|---|---|
committer | Jaikumar Ganesh <jaikumar@google.com> | 2011-07-11 11:59:19 -0700 |
commit | 4a6aa524c95b91ae13ae6857fb21938695ea94fa (patch) | |
tree | 277cc5928e9d33dd583acb53efe3fc46a0470fb1 /include/net/bluetooth | |
parent | f1b394acd99a6e2919e2c61481abf0a12804a143 (diff) | |
download | kernel_samsung_espresso10-4a6aa524c95b91ae13ae6857fb21938695ea94fa.zip kernel_samsung_espresso10-4a6aa524c95b91ae13ae6857fb21938695ea94fa.tar.gz kernel_samsung_espresso10-4a6aa524c95b91ae13ae6857fb21938695ea94fa.tar.bz2 |
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>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r-- | include/net/bluetooth/l2cap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h index 68c8724..b3d953b 100644 --- a/include/net/bluetooth/l2cap.h +++ b/include/net/bluetooth/l2cap.h @@ -289,6 +289,8 @@ struct l2cap_chan { __u8 state; + atomic_t refcnt; + __le16 psm; __u16 dcid; __u16 scid; |