]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - net/netfilter/xt_IDLETIMER.c
net: netfilter: use kfree_drop_reason() for NF_DROP
[mirror_ubuntu-jammy-kernel.git] / net / netfilter / xt_IDLETIMER.c
index 7b2f359bfce46160acc3c29e7a9b4b68bbe3b731..2f7cf5ecebf4f3b66f817e6e3d17e5114924189f 100644 (file)
@@ -137,7 +137,7 @@ static int idletimer_tg_create(struct idletimer_tg_info *info)
 {
        int ret;
 
-       info->timer = kmalloc(sizeof(*info->timer), GFP_KERNEL);
+       info->timer = kzalloc(sizeof(*info->timer), GFP_KERNEL);
        if (!info->timer) {
                ret = -ENOMEM;
                goto out;