On Thu, Jul 25, 2024 at 04:17:27PM +0300, Ido Schimmel wrote: > The NETLINK_FIB_LOOKUP netlink family can be used to perform a FIB > lookup according to user provided parameters and communicate the result > back to user space. > > However, unlike other users of the FIB lookup API, the upper DSCP bits > and the ECN bits of the DS field are not masked, which can result in the > wrong result being returned. > > Solve this by masking the upper DSCP bits and the ECN bits using > IPTOS_RT_MASK. Reviewed-by: Guillaume Nault <gnault@xxxxxxxxxx>