From: Samuel Ortiz Date: Mon, 5 Mar 2012 00:03:51 +0000 (+0100) Subject: NFC: Fix LLCP sockets releasing path X-Git-Tag: v3.4-rc1~177^2~108^2~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40c75f81d6852bb4fd08491074889187f77b8d1f;p=pandora-kernel.git NFC: Fix LLCP sockets releasing path The socket local pointer needs to be set to NULL when the adapter is removed or the MAC goes down. If the socket release code is called after such an event, the socket reference count still needs to be decreased in order for the socket to eventually be freed. Signed-off-by: Samuel Ortiz Signed-off-by: John W. Linville --- Reading git-diff-tree failed