generic: standardize tcp_no_window_check pending patch for 5.15
authorAnsuel Smith <[email protected]>
Sun, 7 Nov 2021 21:33:21 +0000 (22:33 +0100)
committerZoltan HERPAI <[email protected]>
Tue, 21 Dec 2021 09:54:05 +0000 (10:54 +0100)
commit4a97b90ca333530c1cd16c3927ef729d7c939d12
treebd5900b00e3c80fc331616e2bbdd047005252341
parent56439604966e383f9bdf1ea7d7f741c860eb5df6
generic: standardize tcp_no_window_check pending patch for 5.15

Standardize pending patch tcp_no_window_check patch as with
new kernel they added a check for global variables.
The 2 new condition are that they must be read-only or
the data pointer should not point to kernel/module global
data.
Remove the global variable and move it to a standard place
following other variables logic.

Signed-off-by: Ansuel Smith <[email protected]>
target/linux/generic/pending-5.15/613-netfilter_optional_tcp_window_check.patch