mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-14 23:09:45 +01:00
This patch uses nfct_help() to detect whether an established connection needs conntrack helper instead of using test_bit(IPS_HELPER_BIT, &ct->status). The reason for this modification is that IPS_HELPER_BIT is only set when the conntrack helper is attached by explicit CT target. However, in the case that a device enables conntrack helper via the other ways (e.g., command "echo 1 > /proc/sys/net/netfilter/nf_conntrack_helper") , the status of IPS_HELPER_BIT will not present any change. That means the IPS_HELPER_BIT might lose the checking ability in the context. Signed-off-by: HsiuWen Yen <y.hsiuwen@gmail.com> |
||
|---|---|---|
| .. | ||
| backport-4.9 | ||
| backport-4.14 | ||
| backport-4.19 | ||
| files | ||
| hack-4.9 | ||
| hack-4.14 | ||
| hack-4.19 | ||
| image | ||
| other-files | ||
| pending-3.18 | ||
| pending-4.9 | ||
| pending-4.14 | ||
| pending-4.19 | ||
| config-3.18 | ||
| config-4.9 | ||
| config-4.14 | ||
| config-4.19 | ||
| PATCHES | ||