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

Conversation

pqarmitage
Copy link
Collaborator

No description provided.

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]>
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 pqarmitage merged commit ccb4d9c into acassen:master Jul 9, 2024
10 checks passed
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.

1 participant