]> err.no Git - linux-2.6/blobdiff - net/netfilter/nfnetlink_log.c
[PATCH] rename the provided execve functions to kernel_execve
[linux-2.6] / net / netfilter / nfnetlink_log.c
index 61cdda4e5d3ba8b25f02af19a7bbb634fc9a0d84..b59d3b2bde21815ad8c20f8fe758c226eff566f4 100644 (file)
@@ -366,6 +366,9 @@ __nfulnl_send(struct nfulnl_instance *inst)
        if (timer_pending(&inst->timer))
                del_timer(&inst->timer);
 
+       if (!inst->skb)
+               return 0;
+
        if (inst->qlen > 1)
                inst->lastnlh->nlmsg_type = NLMSG_DONE;