9b5e7b0383
FILTER_SCHEDULE_THREAD does not work on FreeBSD as described -- it is not actually a bit flag, so should not be used with FILTER_HANDLED - Bump port version to 2.4.0rc5_3
26 lines
1.1 KiB
Text
26 lines
1.1 KiB
Text
Index: freebsd/drivers/dahdi/wct4xxp/base.c
|
|
===================================================================
|
|
--- freebsd/drivers/dahdi/wct4xxp/base.c (revision 10453)
|
|
+++ freebsd/drivers/dahdi/wct4xxp/base.c (working copy)
|
|
@@ -4132,7 +4132,7 @@
|
|
#endif
|
|
if (unlikely(test_bit(T4_CHANGE_LATENCY, &wc->checkflag) || test_bit(T4_CHECK_VPM, &wc->checkflag))) {
|
|
#if defined(__FreeBSD__)
|
|
- res |= FILTER_SCHEDULE_THREAD;
|
|
+ res = FILTER_SCHEDULE_THREAD;
|
|
#else
|
|
tasklet_schedule(&wc->t4_tlet);
|
|
#endif
|
|
Index: freebsd/drivers/dahdi/wctc4xxp/base.c
|
|
===================================================================
|
|
--- freebsd/drivers/dahdi/wctc4xxp/base.c (revision 10453)
|
|
+++ freebsd/drivers/dahdi/wctc4xxp/base.c (working copy)
|
|
@@ -2931,7 +2931,7 @@
|
|
#if DEFERRED_PROCESSING == WORKQUEUE
|
|
schedule_work(&wc->deferred_work);
|
|
#elif DEFERRED_PROCESSING == ITHREAD
|
|
- res |= FILTER_SCHEDULE_THREAD;
|
|
+ res = FILTER_SCHEDULE_THREAD;
|
|
#elif DEFERRED_PROCESSING == INTERRUPT
|
|
#error "You will need to change the locks if you want to run the processing " \
|
|
"in the interrupt handler."
|