diff options
author | sjur.brandeland@stericsson.com <sjur.brandeland@stericsson.com> | 2011-05-22 13:18:51 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-23 02:11:47 +0200 |
commit | 54e90fb5ca8050156d3e748ddc690ed6ea9d71ac (patch) | |
tree | 63a4d1a736a7c44cc88b69e41dec9c4885ef2f74 /net/caif/cfctrl.c | |
parent | caif: Bugfix add check NULL pointer before calling functions. (diff) | |
download | linux-54e90fb5ca8050156d3e748ddc690ed6ea9d71ac.tar.xz linux-54e90fb5ca8050156d3e748ddc690ed6ea9d71ac.zip |
caif: Fixes freeze on Link layer removal.
CAIF Socket layer - caif_socket.c:
- Plug mem-leak at reconnect.
- Always call disconnect to cleanup CAIF stack.
- Disconnect will always report success.
CAIF configuration layer - cfcnfg.c
- Disconnect must dismantle the caif stack correctly
- Protect against faulty removals (check on id zero)
CAIF mux layer - cfmuxl.c
- When inserting new service layer in the MUX remove
any old entries with the same ID.
- When removing CAIF Link layer, remove the associated
service layers before notifying service layers.
Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/caif/cfctrl.c')
0 files changed, 0 insertions, 0 deletions