linux_dsm_epyc7002/net/nfc
Pan Bian 025ec40b81 nfc: netlink: fix double device reference drop
The function nfc_put_device(dev) is called twice to drop the reference
to dev when there is no associated local llcp. Remove one of them to fix
the bug.

Fixes: 52feb444a9 ("NFC: Extend netlink interface for LTO, RW, and MIUX parameters support")
Fixes: d9b8d8e19b ("NFC: llcp: Service Name Lookup netlink interface")
Signed-off-by: Pan Bian <bianpan2016@163.com>
Reviewed-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-11-07 15:23:19 -08:00
..
hci
nci nfc: fix potential illegal memory access 2019-07-08 12:46:24 -07:00
af_nfc.c
core.c
digital_core.c
digital_dep.c
digital_technology.c
digital.h
Kconfig
llcp_commands.c
llcp_core.c
llcp_sock.c net: use skb_queue_empty_lockless() in poll() handlers 2019-10-28 13:33:41 -07:00
llcp.h
Makefile
netlink.c nfc: netlink: fix double device reference drop 2019-11-07 15:23:19 -08:00
nfc.h
rawsock.c