-
Notifications
You must be signed in to change notification settings - Fork 15
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
support for newer kernels / Ubuntu 20.04 #27
base: master
Are you sure you want to change the base?
Conversation
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.
I am not sure if it is a good idea to merge this commit
src/ts3init_target.c
Outdated
return NF_CONTINUE; | ||
return XT_CONTINUE; |
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.
These were changed from NF_ACCEPT to XT_CONTINUE. This would change the way these matches work, since right now it is expected that a packet stops traversing the chain once it matches this rule. Is there a good reason to do this?
src/ts3init_target.c
Outdated
return NF_CONTINUE; | ||
return XT_CONTINUE; |
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.
Same here
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.
Unclear reason for change
src/ts3init_target.c
Outdated
if (unlikely(ip_route_me_harder(par_net(par), skb, RTN_UNSPEC) != 0)){ | ||
if (ip_route_me_harder(par_net(par), skb, RTN_UNSPEC) != 0){ |
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.
Why remove the unlikely here?
pull request as requested via support ticket