aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorPaul Blakey <[email protected]>2020-03-04 13:49:38 +0200
committerDavid S. Miller <[email protected]>2020-03-04 11:05:04 -0800
commit07ac9d16b4a5d1cf303215ad7e9829824246be55 (patch)
tree4a189e449dccdebaa4cf1bd58306790bf0089b47 /lib/test_overflow.c
parent97ec3b21b207dc7713877f5ef2ae74c879be0c84 (diff)
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 <[email protected]> Acked-by: Marcelo Ricardo Leitner <[email protected]> Reviewed-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions