net/click: update to today's git, add a fix patch.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@23550 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
12
net/click/patches/110-multithread_fix.patch
Normal file
12
net/click/patches/110-multithread_fix.patch
Normal file
@ -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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user