summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPaul Blakey <paulb@mellanox.com>2020-03-04 14:49:38 +0300
committerDavid S. Miller <davem@davemloft.net>2020-03-04 22:05:04 +0300
commit07ac9d16b4a5d1cf303215ad7e9829824246be55 (patch)
tree4a189e449dccdebaa4cf1bd58306790bf0089b47 /tools/perf/scripts/python/export-to-postgresql.py
parent97ec3b21b207dc7713877f5ef2ae74c879be0c84 (diff)
downloadlinux-07ac9d16b4a5d1cf303215ad7e9829824246be55.tar.xz
net/sched: act_ct: Fix ipv6 lookup of offloaded connections
When checking the protocol number tcf_ct_flow_table_lookup() handles the flow as if it's always ipv4, while it can be ipv6. Instead, refactor the code to fetch the tcp header, if available, in the relevant family (ipv4/ipv6) filler function, and do the check on the returned tcp header. Fixes: 46475bb20f4b ("net/sched: act_ct: Software offload of established flows") Signed-off-by: Paul Blakey <paulb@mellanox.com> Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Reviewed-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions