NFC: use kfree_skb() for sk_buffs
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 16 Dec 2011 20:26:00 +0000 (23:26 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 19 Dec 2011 19:40:23 +0000 (14:40 -0500)
commit5b68a7ca32194e238a1dcbb24ae0a4cf61e67047
tree07996bb966d4c3e38b107edc9985492c804672b5
parent341ee4349f31e42fb0eb20d340d15309ac760308
NFC: use kfree_skb() for sk_buffs

This is a struct sk_buff pointer and it should be freed with kfree_skb()
instead of kfree().

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/nfc/llcp/llcp.c