From: Christophe Ricard Date: Sat, 13 Sep 2014 08:28:45 +0000 (+0200) Subject: NFC: st21nfca: Fix recursive fault when doing p2p in target mode. X-Git-Tag: fixes-against-v3.18-rc2~144^2~39^2~72^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90d5f81afc8369774a6c581b600aef80b1448d35;p=pandora-kernel.git NFC: st21nfca: Fix recursive fault when doing p2p in target mode. This patch fix a previous patch introduce by commit 0a91e8ac240a12ac3a03581deb8cd531788c63d4 It is actually fixing a double free mistake in all st21nfca_tm_* function. We decide to return directly in case of successful execution because skb got already freed. In st21nfca_tm_recv_dep_req it got freed by nfc_tm_data_received. Signed-off-by: Christophe Ricard Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed