Skip to content

Commit 122662f

Browse files
vvfedorenkoaabc
authored andcommitted
Fix preemptive enabled warning
Issue 193, we can use unstable reading because we actually don't care much of actual CPU that executed worker Link: #193 Link: #197
1 parent 4016a06 commit 122662f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ipt_NETFLOW.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4501,7 +4501,7 @@ static void netflow_work_fn(struct work_struct *dummy)
45014501
wk_count = 0;
45024502
wk_trylock = 0;
45034503
wk_llist = 0;
4504-
wk_cpu = smp_processor_id();
4504+
wk_cpu = __smp_processor_id();
45054505
wk_start = jiffies;
45064506

45074507
pdus = netflow_scan_and_export(DONT_FLUSH);

0 commit comments

Comments
 (0)