diff options
-rw-r--r-- | net/netfilter/xt_IDLETIMER.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/netfilter/xt_IDLETIMER.c b/net/netfilter/xt_IDLETIMER.c index f407ebc13481..29d2c31f406c 100644 --- a/net/netfilter/xt_IDLETIMER.c +++ b/net/netfilter/xt_IDLETIMER.c | |||
@@ -126,6 +126,7 @@ static int idletimer_tg_create(struct idletimer_tg_info *info) | |||
126 | goto out; | 126 | goto out; |
127 | } | 127 | } |
128 | 128 | ||
129 | sysfs_attr_init(&info->timer->attr.attr); | ||
129 | info->timer->attr.attr.name = kstrdup(info->label, GFP_KERNEL); | 130 | info->timer->attr.attr.name = kstrdup(info->label, GFP_KERNEL); |
130 | if (!info->timer->attr.attr.name) { | 131 | if (!info->timer->attr.attr.name) { |
131 | ret = -ENOMEM; | 132 | ret = -ENOMEM; |