From: sjur.brandeland@stericsson.com Date: Sun, 22 May 2011 11:18:51 +0000 (+0000) Subject: caif: Fixes freeze on Link layer removal. X-Git-Tag: v3.0-rc1~351^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54e90fb5ca8050156d3e748ddc690ed6ea9d71ac;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed