diff options
author | Guillaume Nault <gnault@redhat.com> | 2024-11-14 17:03:21 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2024-11-15 11:00:29 +0100 |
commit | 0608746f95b29402421c0e0e96005afba45178ec (patch) | |
tree | 757c01a51ae052b68c44b77eb6990b8dac9a4602 /scripts/lib/kdoc/kdoc_parser.py | |
parent | 508180850b732c7a0e3a728460cf3f95f25e1fbd (diff) |
netfilter: ipv4: Convert ip_route_me_harder() 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