openwrt/target/linux/generic
HsiuWen Yen 33b690216e netfilter: fix checking method of conntrack helper
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>
2019-02-09 14:37:26 +01:00
..
backport-4.9 kernel: bump 4.9 to 4.9.155 2019-02-08 17:27:47 +01:00
backport-4.14 kernel: bump 4.14 to 4.14.98 2019-02-08 17:27:47 +01:00
backport-4.19 kernel: bump 4.19 to 4.19.20 2019-02-08 17:27:47 +01:00
files kernel: add DT binding support to the Edimax uImage parser 2019-01-19 12:51:04 +01:00
hack-4.9 kernel: bump 4.9 to 4.9.155 2019-02-08 17:27:47 +01:00
hack-4.14 netfilter: fix checking method of conntrack helper 2019-02-09 14:37:26 +01:00
hack-4.19 kernel: bump 4.19 to 4.19.20 2019-02-08 17:27:47 +01:00
image treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
other-files kernel: move initramfs's init script out of base-files 2017-04-04 14:06:40 +02:00
pending-3.18 kernel: bump 3.18 to 3.18.133 2019-01-28 18:17:32 +01:00
pending-4.9 kernel: bump 4.9 to 4.9.155 2019-02-08 17:27:47 +01:00
pending-4.14 kernel: bump 4.14 to 4.14.98 2019-02-08 17:27:47 +01:00
pending-4.19 kernel: bump 4.19 to 4.19.20 2019-02-08 17:27:47 +01:00
config-3.18 kernel/modules: add kmod-pmbus-zl6100 module 2019-01-13 11:07:37 +01:00
config-4.9 kernel/modules: Fix build of kmod-pmbus 2019-01-13 13:16:02 +01:00
config-4.14 kernel: Add missing config option for kernel 4.14 2019-01-28 21:39:35 +01:00
config-4.19 kernel: add missing symbols to 4.19 2019-02-08 17:27:47 +01:00
PATCHES kernel: update PATCHES with a stricter policy 2013-07-09 20:52:07 +00:00