aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQiujun Huang <[email protected]>2020-04-03 16:07:34 +0800
committerDaniel Borkmann <[email protected]>2020-04-06 21:54:10 +0200
commit0ac16296ffc638f5163f9aeeeb1fe447268e449f (patch)
treef60a3a58643bb42a00d62547b0461da74c7fbb16
parent4734b0fefbbf98f8c119eb8344efa19dac82cd2c (diff)
bpf: Fix a typo "inacitve" -> "inactive"
There is a typo in struct bpf_lru_list's next_inactive_rotation description, thus fix s/inacitve/inactive/. Signed-off-by: Qiujun Huang <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
-rw-r--r--kernel/bpf/bpf_lru_list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/bpf/bpf_lru_list.h b/kernel/bpf/bpf_lru_list.h
index f02504640e18..6b12f06ee18c 100644
--- a/kernel/bpf/bpf_lru_list.h
+++ b/kernel/bpf/bpf_lru_list.h
@@ -30,7 +30,7 @@ struct bpf_lru_node {
struct bpf_lru_list {
struct list_head lists[NR_BPF_LRU_LIST_T];
unsigned int counts[NR_BPF_LRU_LIST_COUNT];
- /* The next inacitve list rotation starts from here */
+ /* The next inactive list rotation starts from here */
struct list_head *next_inactive_rotation;
raw_spinlock_t lock ____cacheline_aligned_in_smp;