diff options
author | Guillaume Nault <gnault@redhat.com> | 2024-11-14 17:03:52 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2024-11-15 11:00:29 +0100 |
commit | f0d839c13ed50175a6e8b3a5ccd591ed15307995 (patch) | |
tree | 9a26b040b3a30a91511b68fe5fe0af34634d9fdc /scripts/lib/kdoc/kdoc_parser.py | |
parent | f12b67cc7d1b67fe9ecee537df5b55625889ca9f (diff) |
netfilter: nf_dup4: Convert nf_dup_ipv4_route() to dscp_t.
Use ip4h_dscp() instead of reading iph->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.
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