--- linux-2.6.x/net/netfilter/nfnetlink_queue.c 2005-09-13 10:48:26.000000000 +0300 +++ linux-2.6.x-RT/net/netfilter/nfnetlink_queue.c 2005-09-27 08:20:10.000000000 +0300 @@ -149,7 +149,7 @@ atomic_set(&inst->id_sequence, 0); /* needs to be two, since we _put() after creation */ atomic_set(&inst->use, 2); - inst->lock = SPIN_LOCK_UNLOCKED; + inst->lock = SPIN_LOCK_UNLOCKED(inst->lock); INIT_LIST_HEAD(&inst->queue_list); if (!try_module_get(THIS_MODULE)) --- linux-2.6.x/net/netfilter/nfnetlink_log.c 2005-09-13 10:48:25.000000000 +0300 +++ linux-2.6.x-RT/net/netfilter/nfnetlink_log.c 2005-09-27 08:50:58.000000000 +0300 @@ -152,7 +152,7 @@ memset(inst, 0, sizeof(*inst)); INIT_HLIST_NODE(&inst->hlist); - inst->lock = SPIN_LOCK_UNLOCKED; + inst->lock = SPIN_LOCK_UNLOCKED(inst->lock); /* needs to be two, since we _put() after creation */ atomic_set(&inst->use, 2);