projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bluetooth: Use kref for l2cap channel reference counting
[firefly-linux-kernel-4.4.55.git]
/
include
/
net
/
bluetooth
/
l2cap.h
diff --git
a/include/net/bluetooth/l2cap.h
b/include/net/bluetooth/l2cap.h
index d206296137e2b4fb50aa49bcee18dae9f0d687fb..7ed8e356425a16dc33c5afd5e4a80eaafdd6ea64 100644
(file)
--- a/
include/net/bluetooth/l2cap.h
+++ b/
include/net/bluetooth/l2cap.h
@@
-433,11
+433,10
@@
struct l2cap_chan {
struct sock *sk;
struct l2cap_conn *conn;
+ struct kref kref;
__u8 state;
- atomic_t refcnt;
-
__le16 psm;
__u16 dcid;
__u16 scid;