Loading net/netfilter/xt_HARDIDLETIMER.c +1 −1 Original line number Diff line number Diff line Loading @@ -134,7 +134,7 @@ static ssize_t hardidletimer_tg_show(struct kobject *kobj, if (ktimespec.tv_sec >= 0) return snprintf(buf, PAGE_SIZE, "%ld\n", ktimespec.tv_sec); if (timer->send_nl_msg) if (timer != NULL && timer->send_nl_msg) return snprintf(buf, PAGE_SIZE, "0 %ld\n", ktimespec.tv_sec); else return snprintf(buf, PAGE_SIZE, "0\n"); Loading Loading
net/netfilter/xt_HARDIDLETIMER.c +1 −1 Original line number Diff line number Diff line Loading @@ -134,7 +134,7 @@ static ssize_t hardidletimer_tg_show(struct kobject *kobj, if (ktimespec.tv_sec >= 0) return snprintf(buf, PAGE_SIZE, "%ld\n", ktimespec.tv_sec); if (timer->send_nl_msg) if (timer != NULL && timer->send_nl_msg) return snprintf(buf, PAGE_SIZE, "0 %ld\n", ktimespec.tv_sec); else return snprintf(buf, PAGE_SIZE, "0\n"); Loading