]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dcb: use nlmsg_free() instead of kfree()
authorDan Carpenter <error27@gmail.com>
Thu, 23 Jun 2011 10:14:42 +0000 (03:14 -0700)
committerJoe Jin <joe.jin@oracle.com>
Wed, 16 May 2012 08:29:59 +0000 (16:29 +0800)
commit4a77110cf6eef5991122c8530d82c5b7a456c20e
tree3d0d976d66a5113ddc66b9804811a4a26a87ef79
parent87c733529e3bb66aabd7acf1cc77d727493a4711
dcb: use nlmsg_free() instead of kfree()

These sk_buff structs were allocated with nlmsg_new() so they should
be freed with nlmsg_free().

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 4d054f2f1445aceedab3f9642692d55d2caa7ec6)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
net/dcb/dcbnl.c