kernel/net/atm/mpoa_caches.c
.. .. @@ -180,8 +180,7 @@ 180 180 static void in_cache_put(in_cache_entry *entry) 181 181 { 182 182 if (refcount_dec_and_test(&entry->use)) { 183 - memset(entry, 0, sizeof(in_cache_entry));184 - kfree(entry);183 + kfree_sensitive(entry);185 184 } 186 185 } 187 186 .. .. @@ -416,8 +415,7 @@ 416 415 static void eg_cache_put(eg_cache_entry *entry) 417 416 { 418 417 if (refcount_dec_and_test(&entry->use)) { 419 - memset(entry, 0, sizeof(eg_cache_entry));420 - kfree(entry);418 + kfree_sensitive(entry);421 419 } 422 420 } 423 421