Actions
Bug #5137
closedmgw claims to set DSCP but actually sets TOS bits
Start date:
04/27/2021
Due date:
% Done:
100%
Spec Reference:
Description
The mgw code has code to set the dscp value based on vty settings.
However, it actually sets the TOS bit, of which DSCP are only the upper 6 bits.
So when we set the DSCP, we must
- read the original TOS bit value
- mask out the upper 6 bits
- or-in the shifted DSCP value
- write it back to the kernel.
I've added a generic helper function to libosmocore first and we can now use that from osmo-mgw
Related issues
Actions