Skip to content

net: Use kzfree() directly

zhong jiang lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ixgbe: Use kzfree() rather than its implementation.drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c+3 -62 replies
2/3sunrpc: Use kzfree rather than its implementation.net/sunrpc/auth_gss/gss_krb5_keys.c+3 -60 replies
3/3net: mpoa: Use kzfree rather than its implementation.net/atm/mpoa_caches.c+2 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

With the help of Coccinelle. We find some place to replace.

@@
expression M, S;
@@

- memset(M, 0, S);
- kfree(M);
+ kzfree(M);

zhong jiang (3):
ixgbe: Use kzfree() rather than its implementation.
sunrpc: Use kzfree rather than its implementation.
net: mpoa: Use kzfree rather than its implementation.

 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c | 9 +++------
 net/atm/mpoa_caches.c                          | 6 ++----
 net/sunrpc/auth_gss/gss_krb5_keys.c            | 9 +++------
 3 files changed, 8 insertions(+), 16 deletions(-)
Signature · 1 line
1.7.12.4