Skip to content

Commit

Permalink
bug fix - was not using LRU hash for flow state
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcoles committed Jun 1, 2023
1 parent 5224fbf commit 195a132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/bpf/bpf.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ struct state {
};

struct {
__uint(type, BPF_MAP_TYPE_HASH);
__uint(type, BPF_MAP_TYPE_LRU_HASH);
__type(key, struct flow);
__type(value, struct state);
__uint(max_entries, MAX_FLOWS);
Expand Down

0 comments on commit 195a132

Please sign in to comment.