-
Notifications
You must be signed in to change notification settings - Fork 105
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
Fix #166: transition to standard skb linkage inside TempstaFW. #1000
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
550fe48
Fix #166: transition to standard skb linkage inside TempstaFW.
aleksostapenko 8e14674
Change patch for linux kernel (PR#1000).
aleksostapenko 2cf77a0
Revert kernel patch for linux-4.9.35 and add new one for linux-4.14.3…
aleksostapenko 435c8c7
Remove kernel patch for linux-4.9.35 (PR#1000).
aleksostapenko 14efafb
Rework internal skb list (PR#1000).
aleksostapenko b2cf1bc
Add tail pointer into internal skb list (PR#1000).
aleksostapenko 527392f
Make internal skb list as cyclic doubly linked (PR#1000).
aleksostapenko f4c37f5
Corrections according review comments (PR#1000).
aleksostapenko 929063c
Porting TempestaFW for 4.14.32 kernel (PR#1000).
aleksostapenko a83be28
Corrections according additional review comments (PR#1000).
aleksostapenko File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Although GCC complies the code, the statement is valid for C++ and prohibited for C.
{ 0 }
is more correct for C.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.
In context of introducing structure randomization functionality into the kernel, various structures (including
struct ctl_table
) had been marked with__randomize_layout
(torvalds/linux@3859a27#diff-9ad17f888d19adc0b5148b288e553b9b) which impliesdesignated_init
GCC attribute, which in turn means that initialization of structures declared with this attribute must use designated initializers rather than positional initializers. Also-Werror=designated-init
compiler option had been introduced into kernel makefile (torvalds/linux@c834f0e). So whenstruct ctl_table
initialized with{ 0 }
, GCC produces an error, since it recognizes this type of initialization as positional partial initialization (not the designated initialization).