Add check_type.c (disabled)
commit4cbf1feaaf09cfa2fc713198234a62fd56ddbcd1
authorDan Carpenter <error27@gmail.com>
Mon, 30 Mar 2009 16:18:30 +0000 (30 19:18 +0300)
committerDan Carpenter <error27@gmail.com>
Mon, 30 Mar 2009 16:18:30 +0000 (30 19:18 +0300)
treecb2dea68255ec08acb0f6c6250ba01f547a123a0
parente3630f29ad39ac70f908ab193418228c6d132ff3
Add check_type.c (disabled)

You are supposed to use kfree_skb() to free sk_buffs not kfree().  There
was a bug to do with this in a 2.6.29-rc kernel.  Check type.c checks for
these kinds of bugs.

The script finds the bug which was fixed in the final kernel but it doesn't
find any other bugs besides this.  It's disabled by default.

Signed-off-by: Dan Carpenter <error27@gmail.com>
check_type.c [new file with mode: 0644]
smatch.c
smatch.h
smatch_helper.c