Commit 7a65ac70 authored by Thomas Markwalder's avatar Thomas Markwalder

[master] Restored missing lock in packet_queue_ring.h

    modified:   src/lib/dhcp/packet_queue_ring.h
parent c05b8796
......@@ -105,6 +105,7 @@ public:
/// @param to specifies the end of the queue to which the packet
/// should be added.
virtual void pushPacket(PacketTypePtr& packet, const QueueEnd& to=QueueEnd::BACK) {
isc::util::thread::Mutex::Locker lock(mutex_);
if (to == QueueEnd::BACK) {
queue_.push_back(packet);
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment