|
@@ -711,15 +711,16 @@ nfulnl_log_packet(unsigned int pf,
|
|
|
inst->timer.expires = jiffies + (inst->flushtimeout*HZ/100);
|
|
|
add_timer(&inst->timer);
|
|
|
}
|
|
|
- spin_unlock_bh(&inst->lock);
|
|
|
|
|
|
+unlock_and_release:
|
|
|
+ spin_unlock_bh(&inst->lock);
|
|
|
+ instance_put(inst);
|
|
|
return;
|
|
|
|
|
|
alloc_failure:
|
|
|
- spin_unlock_bh(&inst->lock);
|
|
|
- instance_put(inst);
|
|
|
UDEBUG("error allocating skb\n");
|
|
|
/* FIXME: statistics */
|
|
|
+ goto unlock_and_release;
|
|
|
}
|
|
|
|
|
|
static int
|