summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGuillaume Nault <gnault@redhat.com>2024-11-14 19:03:45 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2024-11-15 13:00:29 +0300
commitf12b67cc7d1b67fe9ecee537df5b55625889ca9f (patch)
tree3b89d75bd604b735f8ead9842103a19cadb605e2 /tools/perf/scripts/python
parentf694ce6de58930146037aa3f69a534e98b007ff3 (diff)
downloadlinux-f12b67cc7d1b67fe9ecee537df5b55625889ca9f.tar.xz
netfilter: nft_fib: Convert nft_fib4_eval() 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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions