Message ID | 20240814125224.972815-2-idosch@nvidia.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 8fed54758cd248cd311a2b5c1e180abef1866237 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | Preparations for FIB rule DSCP selector | expand |
diff --git a/net/ipv4/fib_frontend.c b/net/ipv4/fib_frontend.c index 7ad2cafb9276..da540ddb7af6 100644 --- a/net/ipv4/fib_frontend.c +++ b/net/ipv4/fib_frontend.c @@ -1343,7 +1343,7 @@ static void nl_fib_lookup(struct net *net, struct fib_result_nl *frn) struct flowi4 fl4 = { .flowi4_mark = frn->fl_mark, .daddr = frn->fl_addr, - .flowi4_tos = frn->fl_tos, + .flowi4_tos = frn->fl_tos & IPTOS_RT_MASK, .flowi4_scope = frn->fl_scope, }; struct fib_table *tb;