]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: Close listening LLCP sockets when the device is gone
authorSamuel Ortiz <sameo@linux.intel.com>
Fri, 22 Jun 2012 12:40:34 +0000 (14:40 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Jul 2012 20:42:16 +0000 (16:42 -0400)
commit98e4e98485c8db808dd13e2a5e9b1e14605a8de1
treecf8d40fadc183ace285d372965c6416c2329f52e
parent91becfd9a10034f7959711fa3eec5e661f920c7b
NFC: Close listening LLCP sockets when the device is gone

When the MAC link goes down, we should only keep the bound sockets
alive. They will be closed by sock_release or when the underlying
NFC device is moving away.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/llcp/llcp.c