NFC: st21nfcb: Avoid use of skb after free
authorChristophe Ricard <christophe.ricard@gmail.com>
Sun, 25 Jan 2015 22:33:23 +0000 (23:33 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 26 Jan 2015 22:14:33 +0000 (23:14 +0100)
commit20842466ec6d823ae9d3991b86527b6a1460ec63
tree8f4d228c436cf4642b87ebb7268022cc78a562e8
parenta968639bcaa7bb8fcd9a74b2c4995d754be313db
NFC: st21nfcb: Avoid use of skb after free

Do not insert in send queue the skb that contains unknown Packet Control
Byte

Acked-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Anda-Maria Nicolae <anda-maria.nicolae@intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/st21nfcb/ndlc.c