diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2012-03-05 01:03:51 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-03-06 15:16:24 -0500 |
commit | 40c75f81d6852bb4fd08491074889187f77b8d1f (patch) | |
tree | 456956512172a11d67a811e15277d5e0a56387c0 /net/nfc/rawsock.c | |
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>
Diffstat (limited to 'net/nfc/rawsock.c')
0 files changed, 0 insertions, 0 deletions