commit | 40c75f81d6852bb4fd08491074889187f77b8d1f | [log] [tgz] |
---|---|---|
author | Samuel Ortiz <sameo@linux.intel.com> | Mon Mar 05 01:03:51 2012 +0100 |
committer | John W. Linville <linville@tuxdriver.com> | Tue Mar 06 15:16:24 2012 -0500 |
tree | 456956512172a11d67a811e15277d5e0a56387c0 | |
parent | 47807d3dbb62e93850cbcb797db1a9ee1806f986 [diff] |
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 <sameo@linux.intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>