Skip to content

Commit

Permalink
Update loading and chaining of the connection_limit
Browse files Browse the repository at this point in the history
Signed-off-by: Santhosh Fernandes <[email protected]>
  • Loading branch information
sanfern committed Oct 28, 2023
1 parent a300dc3 commit 9fe0987
Show file tree
Hide file tree
Showing 3 changed files with 85 additions and 285 deletions.
2 changes: 1 addition & 1 deletion connection-limit/connection_limit_kern.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ struct bpf_map_def SEC("maps") cl_recv_count_map = {
.max_entries = 1
};

/* Maintains the total number of conenctions dropped as the
/* Maintains the total number of connections dropped as the
connection limit is hit */
struct bpf_map_def SEC("maps") cl_drop_count_map = {
.type = BPF_MAP_TYPE_HASH,
Expand Down
Loading

0 comments on commit 9fe0987

Please sign in to comment.