Re: [PATCH 0/3] net: Use kzfree() directly

From: David Miller
Date: Thu Sep 05 2019 - 06:06:25 EST


From: zhong jiang <zhongjiang@xxxxxxxxxx>
Date: Wed, 4 Sep 2019 10:39:09 +0800

> With the help of Coccinelle. We find some place to replace.
>
> @@
> expression M, S;
> @@
>
> - memset(M, 0, S);
> - kfree(M);
> + kzfree(M);

Series applied to net-next.