]> 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)
commit766aa5ecebf9dc1c69e169e7eb8d886d72ca4466
tree8f4d228c436cf4642b87ebb7268022cc78a562e8
parente2b13e8901fd2c442b04b13d891c0a5ed39f7d6b
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