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
kernel: Backport upstream flowtable patches from 5.15 #10422
Conversation
This patch seems good! Congratulations, @hauke ! After merge, can you backport this in 22.03 branch? |
I haven' tested this yet. |
The issue can be reproduced quite easily:
To see that this PR fixes the issue:
Tested just now on an ath79 (QCA9563) device. |
@Shine- did you check if this PR fixes the described test case? |
Yes, see the last sentence of my previous comment:
|
This backports some patches from kernel 5.15 to fix issues with flowtable offloading in kernel 5.10. OpenWrt backports most of the patches related to flowtable offloading from kernel 5.15 already, but we are missing some of the extra fixes. This fixes some connection tracking problems when a flow gets removed from the offload and added to the normal SW path again. The patch 614-v5.18-netfilter-flowtable-fix-TCP-flow-teardown.patch was extended manually with the nf_conntrack_tcp_established() function. All changes are already included in kernel 5.15. Fixes: openwrt#8776 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
@hauke the CI looks happy, please merge. |
Thank you for your patch, I applied it to master in 96ef2da. |
Thanks very much, and please don't forget to apply it to 22.03 as well, prior to tagging the release - that's what this was all about! |
This backports some patches from kernel 5.15 to fix issues with
flowtable offloading in kernel 5.10. OpenWrt backports most of the
patches related to flowtable offloading from kernel 5.15 already, but we
are missing some of the extra fixes.
This fixes some connection tracking problems when a flow gets removed
from the offload and added to the normal SW path again.
The patch 614-v5.18-netfilter-flowtable-fix-TCP-flow-teardown.patch was
extended manually with the nf_conntrack_tcp_established() function.
All changes are already included in kernel 5.15.
Fixes: #8776
Signed-off-by: Hauke Mehrtens hauke@hauke-m.de