Index: linux-2.6/net/ipv4/netfilter/ipt_ULOG.c =================================================================== RCS file: /cvs/linux-2.6/net/ipv4/netfilter/ipt_ULOG.c,v retrieving revision 1.6 diff -u -r1.6 ipt_ULOG.c --- linux-2.6/net/ipv4/netfilter/ipt_ULOG.c 27 Jul 2006 22:00:49 -0000 1.6 +++ linux-2.6/net/ipv4/netfilter/ipt_ULOG.c 10 Aug 2006 16:30:42 -0000 @@ -120,6 +120,11 @@ if (ub->qlen > 1) ub->lastnlh->nlmsg_type = NLMSG_DONE; + if (!ub->skb) { + DEBUGP("ipt_ULOG: ulog_send: nothing to send\n"); + return; + } + NETLINK_CB(ub->skb).dst_group = nlgroupnum + 1; DEBUGP("ipt_ULOG: throwing %d packets to netlink group %u\n", ub->qlen, nlgroupnum + 1);