generic: 5.15: standardize tcp_no_window_check pending patch
authorAnsuel Smith <ansuelsmth@gmail.com>
Sun, 7 Nov 2021 21:33:21 +0000 (22:33 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 27 Mar 2022 00:07:34 +0000 (00:07 +0000)
commit92fb51bc98814958f4c4d69b6a397a17c83d62c6
tree001410ccf780eeea720ea69641bf13525fb4e306
parent483503603cb210919088294051e6d27de1f03718
generic: 5.15: standardize tcp_no_window_check pending patch

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 <ansuelsmth@gmail.com>
target/linux/generic/pending-5.15/613-netfilter_optional_tcp_window_check.patch