#ifndef _NET_FLOWCACHE_H #define _NET_FLOWCACHE_H #include #include #include #include struct flow_cache_percpu { struct hlist_head *hash_table; int hash_count; u32 hash_rnd; int hash_rnd_recalc; struct tasklet_struct flush_tasklet; }; struct flow_cache { u32 hash_shift; struct flow_cache_percpu __percpu *percpu; struct hlist_node node; int low_watermark; int high_watermark; struct timer_list rnd_timer; }; #endif /* _NET_FLOWCACHE_H */ /head>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Iooss <nicolas.iooss_linux@m4x.org>2016-10-29 13:17:37 +0200
committerKalle Valo <kvalo@qca.qualcomm.com>2016-11-15 17:07:36 +0200
commit31b239824ece321c09bdb8e61e1d14814eaba38b (patch)
tree261d8b5f5d8853d46507c423964df97c40ae1aaf
parentf004e532a80a6368627e26503482508528e5c443 (diff)
ath10k: use the right length of "background"
The word "background" contains 10 characters so the third argument of strncmp() need to be 10 in order to match this prefix correctly. Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org> Fixes: 855aed1220d2 ("ath10k: add spectral scan feature") Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>