-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
bfdd: disable echo socket when not using it #16987
Conversation
3d7ffd4
to
1b6ea00
Compare
1b6ea00
to
e6720c8
Compare
once ci finishes I'll get this in. |
d1ebd56
to
dc52e52
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good ... waiting on ci and the one other comment
looks like closing this socket is causing bfdd not to be able to "find itself" ... the test probably needs to be changed (?) |
ci:rerun |
I can confirm that the change helps. Thanks @rzalamena ! |
It's odd it's only failing on docker ... let's try again ci:rerun |
I think the CI test needs to be looked at ... probably not going to pass ... |
dc52e52
to
88cf860
Compare
88cf860
to
2757d58
Compare
Lets avoid a performance penalty in forwarding when not using the BFD echo feature. The echo socket uses raw packet capturing along with a BPF filter which causes performance issues. While here change code to use `-1` for closed sockets instead of valid FD number `0`. Signed-off-by: Rafael Zalamena <[email protected]>
2757d58
to
20c3756
Compare
Fixes #16594.
Lets avoid a performance penalty in forwarding when not using the BFD echo feature. The echo socket uses raw packet capturing along with a BPF filter which causes performance issues.