diff options
author | Guillaume Nault <gnault@redhat.com> | 2024-11-14 17:03:31 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2024-11-15 11:00:29 +0100 |
commit | 6f9615a6e686bc0acfb5a02050a50782a6a378b2 (patch) | |
tree | afe6c83e8a0db2c29a6a1cae87d349a19ef38585 /scripts/lib/kdoc/kdoc_parser.py | |
parent | 0608746f95b29402421c0e0e96005afba45178ec (diff) |
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 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions