Re: [RFC 0/8] Another step in l2cap_core/sock separation

Gustavo Padovan
2012-05-24T06:12:21Z

* Gustavo Padovan <gustavo@padovan.org> [2012-05-23 22:12:36 -0300]:

> From: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
>
> Hi,
>
> This patchset does a bit more of clean up in l2cap core, it was inially based
> on the two patches Andrei has sent to the list today.

For those interested in this work, a good measure of how good we are is:

$ egrep -rn "\<sk\>" net/bluetooth/l2cap_core.c | wc -l

Before this patchset of 11 patches we were counting 113 here, now we down to 77
occurrences of "sk" in the file with bt_sk(sk)->{src,dst} and socket locks
being the biggest users.

Gustavo