File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -1135,7 +1135,7 @@ static int flows_dump_seq_show(struct seq_file *seq, void *v)
11351135 seq_printf (seq , "%d %04x %x" ,
11361136 st -> pcache ,
11371137 hash_netflow (& nf -> tuple ),
1138- (!!inactive_needs_export (nf , i_timeout , jiffies )) |
1138+ (!!inactive_needs_export (nf , i_timeout , jiffies )) |
11391139 (active_needs_export (nf , a_timeout , jiffies ) << 1 ));
11401140 seq_printf (seq , " %hd,%hd" ,
11411141 nf -> tuple .i_ifc ,
@@ -4501,7 +4501,11 @@ static void netflow_work_fn(struct work_struct *dummy)
45014501 wk_count = 0 ;
45024502 wk_trylock = 0 ;
45034503 wk_llist = 0 ;
4504+ #if LINUX_VERSION_CODE >= KERNEL_VERSION (5 ,3 ,0 )
45044505 wk_cpu = __smp_processor_id ();
4506+ #else
4507+ wk_cpu = smp_processor_id ();
4508+ #endif
45054509 wk_start = jiffies ;
45064510
45074511 pdus = netflow_scan_and_export (DONT_FLUSH );
You can’t perform that action at this time.
0 commit comments