net/click: update to today's git, add a fix patch.
[packages.git] / net / click / patches / 110-multithread_fix.patch
diff --git a/net/click/patches/110-multithread_fix.patch b/net/click/patches/110-multithread_fix.patch
new file mode 100644 (file)
index 0000000..b875758
--- /dev/null
@@ -0,0 +1,12 @@
+--- a/lib/master.cc
++++ b/lib/master.cc
+@@ -409,7 +409,9 @@ Master::process_pending(RouterThread *th
+     while (Task *t = Task::pending_to_task(my_pending)) {
+       my_pending = t->_pending_nextptr;
+       t->_pending_nextptr = 0;
++# if HAVE_MULTITHREAD
+       click_master_mb();
++# endif
+       t->process_pending(thread);
+     }
+ }