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

Allow for Ethernet padding when checking receive packet size #2442

Merged
merged 2 commits into from
Jul 9, 2024

Commits on Jul 9, 2024

  1. vrrp: Allow for Ethernet frame padding for short packets

    Some network interface cards do not strip Ethernet frame padding
    before passing a packet to userspace (recvmesg()). keepalived
    checks the received packet length but wasn't allowing for extra
    bytes to be received that were added as frame padding.
    
    This commit allows for frame padding to be received and not report
    an incorrect packet length.
    
    Signed-off-by: Quentin Armitage <[email protected]>
    pqarmitage committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    03d30c5 View commit details
    Browse the repository at this point in the history
  2. vrrp: Remove duplicate dumping of master advert interval

    Don't write master advert interval in keepalived.data twice when
    using VRRPv3 and the VRRP instance is in backup state.
    
    Signed-off-by: Quentin Armitage <[email protected]>
    pqarmitage committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    c9da511 View commit details
    Browse the repository at this point in the history