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
..
2019-01-28 18:17:32 +01:00
2019-01-28 18:17:32 +01:00
2019-01-24 15:53:03 +01:00
2019-01-28 18:17:32 +01:00
2018-10-19 10:01:57 +02:00
2019-01-27 00:16:13 +01:00
2018-11-05 16:00:00 +01:00
2019-01-28 18:17:32 +01:00
2019-01-28 18:17:32 +01:00
2019-01-28 18:17:32 +01:00
2019-02-01 11:41:00 +01:00
2019-01-28 18:17:32 +01:00
2019-02-08 17:27:47 +01:00
2019-01-13 16:31:40 +01:00
2018-08-20 13:03:23 +02:00
2019-02-01 11:41:00 +01:00
2019-01-28 18:17:32 +01:00
2019-02-08 17:27:47 +01:00
2019-01-12 19:40:13 +01:00
2018-10-09 14:29:55 +02:00
2018-10-19 10:01:57 +02:00
2019-01-07 17:09:06 +01:00
2018-12-10 11:48:44 +01:00
2019-01-28 18:17:32 +01:00
2019-01-12 22:40:36 +01:00
2018-08-20 13:03:23 +02:00
2018-12-26 17:32:48 +01:00