generic: 5.15: fix panic on tcp_no_window_check set with interface up
authorChristian 'Ansuel' Marangi <ansuelsmth@gmail.com>
Sat, 14 May 2022 17:42:24 +0000 (19:42 +0200)
committerAnsuel Smith <ansuelsmth@gmail.com>
Sun, 29 May 2022 20:37:36 +0000 (22:37 +0200)
commit03685d347025e62faa8f89d0502dcd1dcf6152b4
tree4435546914f03ba39793f4f916b6950c69337c2c
parentbde6311569ef25a00c3beaeabfd6b78b19651872
generic: 5.15: fix panic on tcp_no_window_check set with interface up

The current reworked version cause kernel panic when the value is changes and
an interface is up. Following the tcp_be_liberal impelementation,
reimplement this to permit a safe change of this value without any
panic.
This has been tested with a QSDK package where tcp_no_window_check is used.

Fixes: 92fb51bc9881 ("generic: 5.15: standardize tcp_no_window_check pending patch")
Signed-off-by: Christian 'Ansuel' Marangi <ansuelsmth@gmail.com>
target/linux/generic/pending-5.15/613-netfilter_optional_tcp_window_check.patch