]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita12d8c53907276ddb6db25a03d980808e91136c9
tree8f4d228c436cf4642b87ebb7268022cc78a562e8
parent4512c986fff18347bd49f7945aa3755ed336f2f4
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