commit | 1d0d6bd61d495d271b9774a15fbea93e4875474b | [log] [tgz] |
---|---|---|
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | Wed May 06 07:27:28 2015 +0200 |
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | Thu Nov 10 13:28:43 2016 +0100 |
tree | e21096b00a5ecb67fcb2c625197deec7f2d6991c | |
parent | bec810d973003b30bc477146904af6bd93fd2df8 [diff] |
netfilter: ipset: Use kmalloc() in comment extension helper Allocate memory with kmalloc() rather than kzalloc(): the string is immediately initialized so it is unnecessary to zero out the allocated memory area. Ported from a patch proposed by Sergey Popovich <popovich_sergei@mail.ua>. Suggested-by: Sergey Popovich <popovich_sergei@mail.ua> Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>