Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DHCPv6 Relay] [202106] Fix kernel memory allocation, log verbosity and dhcpmon bugs #8975

Merged
merged 4 commits into from
Oct 19, 2021
Merged

[DHCPv6 Relay] [202106] Fix kernel memory allocation, log verbosity and dhcpmon bugs #8975

merged 4 commits into from
Oct 19, 2021

Commits on Oct 13, 2021

  1. Fix for DHCPv6 relay daemon 'setsockopt: IPV6_JOIN_GROUP: Cannot allo…

    …cate memory' issue
    
    Signed-off-by: Shlomi Bitton <shlomibi@nvidia.com>
    Shlomi Bitton committed Oct 13, 2021
    Configuration menu
    Copy the full SHA
    6fc8002 View commit details
    Browse the repository at this point in the history
  2. Add a new patch for ISC-DHCPv6 relay.

    Change the verbosity level from ERROR to INFO for returned code of 'Network is unreachable' when sending packets.
    This is because by design, the relay will try to relay packets to all DHCP servers even if there is no route to it and then the error message will print out.
    
    Signed-off-by: Shlomi Bitton <shlomibi@nvidia.com>
    Shlomi Bitton committed Oct 13, 2021
    Configuration menu
    Copy the full SHA
    4e9fff3 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2021

  1. Exclude incrementing the aggregate device if packets recieved on the …

    …MGMT interface.
    
    The MGMT is incremented to check if DHCP packets are traveling through mgmt interface, it is not part of the aggregate device counters.
    To allow checking the MGMT interface health as well, we need to check the counters of MGMT interface also, so on function 'dhcp_device_check_health' we need to check the current device counters, not only the aggregate device.
    
    Signed-off-by: Shlomi Bitton <shlomibi@nvidia.com>
    Shlomi Bitton committed Oct 15, 2021
    Configuration menu
    Copy the full SHA
    6b32fcf View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2021

  1. Fix DHCP header offset calculation.

    Get the correct option ID in order to get the inner DHCP message
    
    Signed-off-by: Shlomi Bitton <shlomibi@nvidia.com>
    Shlomi Bitton committed Oct 17, 2021
    Configuration menu
    Copy the full SHA
    4cdfb9e View commit details
    Browse the repository at this point in the history