Skip to content

gk: eliminate parameters max number of fib entries#447

Merged
AltraMayor merged 2 commits intoAltraMayor:masterfrom
mengxiang0811:gk-fib-nums
Dec 16, 2020
Merged

gk: eliminate parameters max number of fib entries#447
AltraMayor merged 2 commits intoAltraMayor:masterfrom
mengxiang0811:gk-fib-nums

Conversation

@mengxiang0811
Copy link
Collaborator

This patch closes #440.

@AltraMayor AltraMayor added this to the First deployment milestone Dec 16, 2020
@AltraMayor AltraMayor merged commit 900f652 into AltraMayor:master Dec 16, 2020
AltraMayor added a commit that referenced this pull request Dec 17, 2020
Pull request #447 introduced a bug that leads to a segmentation
fault during the initialization when only IPv4 or only IPv6 is
set up but the parameter gk_conf->max_num_ipv4_rules or
gk_conf->max_num_ipv6_rules of the disable stack is not zero.
See init_fib_tbl() in gk/fib.c for details.

This patch fixes the bug and adds warning messages and an assert
to the code.
mengxiang0811 added a commit to mengxiang0811/gatekeeper that referenced this pull request Jan 10, 2022
gk: eliminate parameters max number of fib entries

This patch closes AltraMayor#440.
mengxiang0811 pushed a commit to mengxiang0811/gatekeeper that referenced this pull request Jan 10, 2022
Pull request AltraMayor#447 introduced a bug that leads to a segmentation
fault during the initialization when only IPv4 or only IPv6 is
set up but the parameter gk_conf->max_num_ipv4_rules or
gk_conf->max_num_ipv6_rules of the disable stack is not zero.
See init_fib_tbl() in gk/fib.c for details.

This patch fixes the bug and adds warning messages and an assert
to the code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Shouldn't we eliminate parameters max_num_ipv4_fib_entries and max_num_ipv6_fib_entries?

2 participants