linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/15] L2CAP Rewrite (or create proper struct l2cap_chan)
@ 2011-04-01 22:33 Gustavo F. Padovan
  2011-04-01 22:33 ` [PATCH 01/15] Bluetooth: Create struct l2cap_chan Gustavo F. Padovan
  0 siblings, 1 reply; 23+ messages in thread
From: Gustavo F. Padovan @ 2011-04-01 22:33 UTC (permalink / raw)
  To: linux-bluetooth

This patchset is the very beginning of a series of patches to remove the
socket dependence from the core l2cap operations. The main motivation around
this is to have a clear separation between L2CAP socket operations and L2CAP
channels operations.

By fixing this we will be able to fix the RFCOMM's L2CAP usage, that today is
via the socket calls from inside the kernel. This approach is totally mess
and have been a headache for almost ten years now due to inumerous locking
bugs that we had.

Next step is keep cleaning l2cap_core.c by removing socket references from it.
In short, we will be done, when l2cap_core.c is clean of any socket reference
and we write a API to access L2CAP core from l2cap_sock.c, RFCOMM and in the
future AMP Manager.

These first changes are very simple, hopefully, it's not breaking anything.
But of course I'll test all the changes against PTS, before they reach Linus'
tree. Please review.

Gustavo F. Padovan (15):
  Bluetooth: Create struct l2cap_chan
  Bluetooth: Use struct list_head for L2CAP channels list
  Bluetooth: Remove struct del_list
  Bluetooth: Move ident to struct l2cap_chan
  Bluetooth: Move conf_{req,rsp} stuff to struct l2cap_chan
  Bluetooth: clean up l2cap_sock_recvmsg()
  Bluetooth: Move conn_state to struct l2cap_chan
  Bluetooth: Move of ERTM *_seq vars to struct l2cap_chan
  Bluetooth: Move more ERTM stuff to struct l2cap_chan
  Bluetooth: Move SDU related vars to struct l2cap_chan
  Bluetooth: Move remote info to struct l2cap_chan
  Bluetooth: Move ERTM timers to struct l2cap_chan
  Bluetooth: Move srej and busy queues to struct l2cap_chan
  Bluetooth: Move busy workqueue to struct l2cap_chan
  Bluetooth: Fix lockdep warning with skb list lock

 include/net/bluetooth/l2cap.h |  113 ++--
 net/bluetooth/l2cap_core.c    | 1226 ++++++++++++++++++++++-------------------
 net/bluetooth/l2cap_sock.c    |   62 +--
 3 files changed, 730 insertions(+), 671 deletions(-)

-- 
1.7.4.1


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2011-04-04 21:05 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-01 22:33 [PATCH 00/15] L2CAP Rewrite (or create proper struct l2cap_chan) Gustavo F. Padovan
2011-04-01 22:33 ` [PATCH 01/15] Bluetooth: Create struct l2cap_chan Gustavo F. Padovan
2011-04-01 22:33   ` [PATCH 02/15] Bluetooth: Use struct list_head for L2CAP channels list Gustavo F. Padovan
2011-04-01 22:33     ` [PATCH 03/15] Bluetooth: Remove struct del_list Gustavo F. Padovan
2011-04-01 22:33       ` [PATCH 04/15] Bluetooth: Move ident to struct l2cap_chan Gustavo F. Padovan
2011-04-01 22:33         ` [PATCH 05/15] Bluetooth: Move conf_{req,rsp} stuff " Gustavo F. Padovan
2011-04-01 22:33           ` [PATCH 06/15] Bluetooth: clean up l2cap_sock_recvmsg() Gustavo F. Padovan
2011-04-01 22:33             ` [PATCH 07/15] Bluetooth: Move conn_state to struct l2cap_chan Gustavo F. Padovan
2011-04-01 22:33               ` [PATCH 08/15] Bluetooth: Move of ERTM *_seq vars " Gustavo F. Padovan
2011-04-01 22:33                 ` [PATCH 09/15] Bluetooth: Move more ERTM stuff " Gustavo F. Padovan
2011-04-01 22:33                   ` [PATCH 10/15] Bluetooth: Move SDU related vars " Gustavo F. Padovan
2011-04-01 22:33                     ` [PATCH 11/15] Bluetooth: Move remote info " Gustavo F. Padovan
2011-04-01 22:33                       ` [PATCH 12/15] Bluetooth: Move ERTM timers " Gustavo F. Padovan
2011-04-01 22:33                         ` [PATCH 13/15] Bluetooth: Move srej and busy queues " Gustavo F. Padovan
2011-04-01 22:33                           ` [PATCH 14/15] Bluetooth: Move busy workqueue " Gustavo F. Padovan
2011-04-01 22:33                             ` [PATCH 15/15] Bluetooth: Fix lockdep warning with skb list lock Gustavo F. Padovan
2011-04-04 21:00                         ` [PATCH 12/15] Bluetooth: Move ERTM timers to struct l2cap_chan Anderson Lizardo
2011-04-04 21:05                           ` Gustavo F. Padovan
2011-04-04 20:50               ` [PATCH 07/15] Bluetooth: Move conn_state " Anderson Lizardo
2011-04-04 20:58                 ` Gustavo F. Padovan
2011-04-04 20:28     ` [PATCH 02/15] Bluetooth: Use struct list_head for L2CAP channels list Anderson Lizardo
2011-04-04 19:22   ` [PATCH 01/15] Bluetooth: Create struct l2cap_chan Anderson Lizardo
2011-04-04 20:07     ` Gustavo F. Padovan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).