mainline already includes Mark Huang's SMP fix
authorMarc Fiuczynski <mef@cs.princeton.edu>
Fri, 29 Jun 2007 00:55:09 +0000 (00:55 +0000)
committerMarc Fiuczynski <mef@cs.princeton.edu>
Fri, 29 Jun 2007 00:55:09 +0000 (00:55 +0000)
net/bridge/netfilter/ebt_ulog.c
net/netfilter/nfnetlink_log.c

index a2ef7f8..c1af68b 100644 (file)
@@ -81,9 +81,6 @@ static void ulog_send(unsigned int nlgroup)
        if (ub->qlen > 1)
                ub->lastnlh->nlmsg_type = NLMSG_DONE;
 
-       if (!ub->skb)
-               return;
-
        NETLINK_CB(ub->skb).dst_group = nlgroup + 1;
        netlink_broadcast(ebtulognl, ub->skb, 0, nlgroup + 1, GFP_ATOMIC);
 
index b8622eb..f7eafd8 100644 (file)
@@ -372,9 +372,6 @@ __nfulnl_send(struct nfulnl_instance *inst)
        if (inst->qlen > 1)
                inst->lastnlh->nlmsg_type = NLMSG_DONE;
 
-       if (!inst->skb)
-               return 0;
-
        status = nfnetlink_unicast(inst->skb, inst->peer_pid, MSG_DONTWAIT);
        if (status < 0) {
                UDEBUG("netlink_unicast() failed\n");