libxlio
libxlio copied to clipboard
issue: 4424775 Improve KTLS compliancy with kernel in setsockopt(TCP_ULP)
Description
Improve KTLS compliancy with kernel. setsockopt(TCP_ULP) has different behavior than kernel if an application calls it multiple times by mistake. Skip calling to kernel, because kernel will always fail this option for the shadow socket.
What
Improve KTLS compliancy with kernel.
Why ?
Improve KTLS compliancy with kernel.
Change type
What kind of change does this PR introduce?
- [x] Bugfix
- [ ] Feature
- [ ] Code style update
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] CI related changes
- [ ] Documentation content changes
- [ ] Tests
- [ ] Other
Check list
- [ ] Code follows the style de facto guidelines of this project
- [ ] Comments have been inserted in hard to understand places
- [ ] Documentation has been updated (if necessary)
- [ ] Test has been added (if possible)