projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
459e794
)
NFC: st21nfca: Fix potential double kfree_skb error
author
Christophe Ricard
<
[email protected]
>
Sat, 13 Sep 2014 08:28:53 +0000
(10:28 +0200)
committer
Samuel Ortiz
<
[email protected]
>
Wed, 24 Sep 2014 00:02:24 +0000
(
02:02
+0200)
skb is already freed in st21nfca_tx_work and was freed also in
st21nfca_im_send_psl_req.
Signed-off-by: Christophe Ricard <
[email protected]
>
Signed-off-by: Samuel Ortiz <
[email protected]
>
drivers/nfc/st21nfca/st21nfca_dep.c
patch
|
blob
|
history
diff --git
a/drivers/nfc/st21nfca/st21nfca_dep.c
b/drivers/nfc/st21nfca/st21nfca_dep.c
index 9408122fb948e44c50f4015a7f0dc2a05d8467a2..bfb6df56c5058d36d007c0753a8aa31e25e4f9ce 100644
(file)
--- a/
drivers/nfc/st21nfca/st21nfca_dep.c
+++ b/
drivers/nfc/st21nfca/st21nfca_dep.c
@@
-428,8
+428,6
@@
static void st21nfca_im_send_psl_req(struct nfc_hci_dev *hdev, u8 did, u8 bsi,
*skb_push(skb, 1) = info->dep_info.to | 0x10;
st21nfca_im_send_pdu(info, skb);
-
- kfree_skb(skb);
}
#define ST21NFCA_CB_TYPE_READER_F 1