-
Notifications
You must be signed in to change notification settings - Fork 106
Migrate to linux 6.12.12 #2339
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
Open
const-t
wants to merge
34
commits into
master
Choose a base branch
from
kt-1808-migrate-to-linux-6.12.12
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Migrate to linux 6.12.12 #2339
+1,422
−1,316
Conversation
This file contains hidden or 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
768f9fd
to
3a9e4c5
Compare
11e6f6c
to
cba4791
Compare
b6eb1aa
to
4c7e3be
Compare
d727836
to
9d6e821
Compare
const-t
commented
Mar 7, 2025
9d6e821
to
374625a
Compare
8fa33f2
to
1c74704
Compare
-Wempty-body The code like so doesn't compile -Wempty-body, becuase if `T_DBG3` macro is empty, it leades to empty `if` statement. ``` if (...) { T_DBG3(...); ``` -Wold-style-declaration Simply use `((void)0)` instead of empty macro. Place inline keyword between storage class and type.
acada40
to
2c8d651
Compare
-tfw_ctlfn_state_io - Changed prototype to match new prototype of proc_handler. -tfw_sysctl_tbl removed empty struct. -Flexible arrays declared using `DECLARE_FLEX_ARRAY`.
Removed unnecessary `__restrict`, that hasn't effect on the function. Also `tbl` and `it` might points to the same structure and this is legal and used in `tfw_hpack_set_rbuf_size()`
Sleepable function must not be called in softIRQ. Use arch specific random number generator by default.
Few patches ago we changed our `ttls_time` macro to use `ktime_get_seconds()` instead of real seconds, it fits our needs, because our session storage is alive until reboot and suspension is not expected. However `x509_get_current_time()` wants to get real time, thus use `ktime_get_real_seconds()` in this case.
Add compilation time flag that replaces random functions by non-random byte sequance `0xAA`. It can be set separately from `DBG_TLS`, however `DBG_TLS=3` also sets `DBG_TLS_NO_RAND=1`
During migration to Linux kernel 6.12.12 Tempesta module has been integrated into LSM stack as non exclusive module, that allows to use Tempesta with other modules. That implies now Tempesta can't monopolize `sk_security` and must use `tempesta_sock()` to get access to socket's blob pointed by `sk_security`.
Fix missed declarations: lib: __memcpy_fast, __memcmp_fast, __bzero_fast. tdb: table.c.
These functions don't have decalrations, therefore make them static to not pollute global scope.
Move test suite declaration from soruce to header file, that allows to include diclarations around the tests. Include decalarations of mocked functions in helpers.c, fix some functions where defenitions diffirent from declaration.
In new kernel `SKBFL_SHARED_FRAG` moved to `flags` from `tx_flags`, fix it around Tempesta code.
Remove unused(always zero) `flags` from: - `tfw_http_msg_setup()` - `tfw_msg_iter_setup()` - `ss_skb_alloc_data()`
We have to set signed char explicitly, because kernel compiles with `-funsigned-char`.
In `tfw_classify_conn_estab()` Tempesta must call `frang_conn_new()` only for Tempesta's socket.
2c8d651
to
16e981b
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.