Revert "ipv4: Mask upper DSCP bits and ECN bits in NETLINK_FIB_LOOKUP family"

This reverts commit c6e6595d5c.
This commit is contained in:
Ksawlii 2024-11-24 00:23:08 +01:00
parent bb3f1c8add
commit fb80fb4dc3

View file

@ -1333,7 +1333,7 @@ static void nl_fib_lookup(struct net *net, struct fib_result_nl *frn)
struct flowi4 fl4 = { struct flowi4 fl4 = {
.flowi4_mark = frn->fl_mark, .flowi4_mark = frn->fl_mark,
.daddr = frn->fl_addr, .daddr = frn->fl_addr,
.flowi4_tos = frn->fl_tos & IPTOS_RT_MASK, .flowi4_tos = frn->fl_tos,
.flowi4_scope = frn->fl_scope, .flowi4_scope = frn->fl_scope,
}; };
struct fib_table *tb; struct fib_table *tb;