diff options
author | Guillaume Nault <gnault@redhat.com> | 2024-11-14 19:03:31 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2024-11-15 13:00:29 +0300 |
commit | 6f9615a6e686bc0acfb5a02050a50782a6a378b2 (patch) | |
tree | afe6c83e8a0db2c29a6a1cae87d349a19ef38585 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 0608746f95b29402421c0e0e96005afba45178ec (diff) | |
download | linux-6f9615a6e686bc0acfb5a02050a50782a6a378b2.tar.xz |
netfilter: flow_offload: Convert nft_flow_route() to dscp_t.
Use ip4h_dscp()instead of reading ip_hdr()->tos directly.
ip4h_dscp() returns a dscp_t value which is temporarily converted back
to __u8 with inet_dscp_to_dsfield(). When converting ->flowi4_tos to
dscp_t in the future, we'll only have to remove that
inet_dscp_to_dsfield() call.
Also, remove the comment about the net/ip.h include file, since it's
now required for the ip4h_dscp() helper too.
Signed-off-by: Guillaume Nault <gnault@redhat.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions