summaryrefslogtreecommitdiff
path: root/tools/include/uapi/linux/pkt_cls.h
diff options
context:
space:
mode:
authorGuillaume Nault <gnault@redhat.com>2022-02-10 15:24:51 +0300
committerDavid S. Miller <davem@davemloft.net>2022-02-10 18:33:33 +0300
commitdc513a405cade3e47bcda8de27c7a7bf6eeddd18 (patch)
tree3c97084ee5216f7e3306006e51f245411b4a25e3 /tools/include/uapi/linux/pkt_cls.h
parent4b0385bc8e6a52797602196714f9a77f62cd540d (diff)
downloadlinux-dc513a405cade3e47bcda8de27c7a7bf6eeddd18.tar.xz
ipv4: Reject again rules with high DSCP values
Commit 563f8e97e054 ("ipv4: Stop taking ECN bits into account in fib4-rules") replaced the validation test on frh->tos. While the new test is stricter for ECN bits, it doesn't detect the use of high order DSCP bits. This would be fine if IPv4 could properly handle them. But currently, most IPv4 lookups are done with the three high DSCP bits masked. Therefore, using these bits doesn't lead to the expected result. Let's reject such configurations again, so that nobody starts to use and make any assumption about how the stack handles the three high order DSCP bits in fib4 rules. Fixes: 563f8e97e054 ("ipv4: Stop taking ECN bits into account in fib4-rules") Signed-off-by: Guillaume Nault <gnault@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/include/uapi/linux/pkt_cls.h')
0 files changed, 0 insertions, 0 deletions