diff options
Diffstat (limited to 'net/core/flow.c')
| -rw-r--r-- | net/core/flow.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/flow.c b/net/core/flow.c index 7fae13537b6..707fb7b952e 100644 --- a/net/core/flow.c +++ b/net/core/flow.c @@ -334,7 +334,7 @@ static int flow_cache_percpu_empty(struct flow_cache *fc, int cpu)  	struct flow_cache_percpu *fcp;  	int i; -	fcp = &per_cpu(*fc->percpu, cpu); +	fcp = per_cpu_ptr(fc->percpu, cpu);  	for (i = 0; i < flow_cache_hash_size(fc); i++)  		if (!hlist_empty(&fcp->hash_table[i]))  			return 0;  |