android_kernel_sony_sdm845/net/nfc
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Pan Bian b9c3223bb1 NFC: fix possible resource leak
commit d8f923c3ab96dbbb4e3c22d1afc1dc1d3b195cd8 upstream.

Put the device to avoid resource leak on path that the polling flag is
invalid.

Fixes: a831b91320 ("NFC: Do not return EBUSY when stopping a poll that's already stopped")
Signed-off-by: Pan Bian <bianpan2016@163.com>
Link: https://lore.kernel.org/r/20210121153745.122184-1-bianpan2016@163.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-02-03 23:19:52 +01:00
..
hci net: nfc: fix bounds checking bugs on "pipe" 2020-03-20 09:07:38 +01:00
nci net: nfc: nci: fix a possible sleep-in-atomic-context bug in nci_uart_tty_receive() 2020-01-04 13:40:16 +01:00
af_nfc.c net: Pass kern from net_proto_family.create to sk_alloc 2015-05-11 10:50:17 -04:00
core.c NFC: fix device-allocation error return 2017-11-30 08:39:07 +00:00
digital.h NFC: digital: Add 'tg_listen_md' and 'tg_get_rf_tech' driver hooks 2014-07-23 01:17:31 +02:00
digital_core.c NFC: digital: Abort last command when dep link goes down 2016-07-06 10:26:52 +02:00
digital_dep.c NFC: digital: Fix RTOX supervisor PDU handling 2016-07-11 02:02:03 +02:00
digital_technology.c NFC: digital: Fix a memory leak in NFC-F listening mode 2016-07-06 10:03:08 +02:00
Kconfig
llcp.h net: Pass kern from net_proto_family.create to sk_alloc 2015-05-11 10:50:17 -04:00
llcp_commands.c net: nfc: Fix NULL dereference on nfc_llcp_build_tlv fails 2019-03-13 14:04:53 -07:00
llcp_core.c net: nfc: Fix NULL dereference on nfc_llcp_build_tlv fails 2019-03-13 14:04:53 -07:00
llcp_sock.c nfc: fix memory leak in llcp_sock_bind() 2019-10-07 18:53:22 +02:00
Makefile
netlink.c NFC: fix possible resource leak 2021-02-03 23:19:52 +01:00
nfc.h nfc: netlink: HCI event connectivity implementation 2015-12-29 19:06:20 +01:00
rawsock.c NFC: fix resource leak when target index is invalid 2021-02-03 23:19:51 +01:00