aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorHenry Yen <[email protected]>2019-01-14 17:59:43 +0800
committerPablo Neira Ayuso <[email protected]>2019-01-14 12:50:59 +0100
commit2314e879747e82896f51cce4488f6a00f3e1af7b (patch)
tree89704152d4ea1fcbdb38eed1702772f839129764 /tools/perf/scripts/python/syscall-counts.py
parent10f4e765879e514e1ce7f52ed26603047af196e2 (diff)
netfilter: nft_flow_offload: 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 is that IPS_HELPER_BIT is only set when using explicit CT target. However, in the case that a device enables conntrack helper via command "echo 1 > /proc/sys/net/netfilter/nf_conntrack_helper", the status of IPS_HELPER_BIT will not present any change, and consequently it loses the checking ability in the context. Signed-off-by: Henry Yen <[email protected]> Reviewed-by: Ryder Lee <[email protected]> Tested-by: John Crispin <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions