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
Updated by laforge about 3 years ago
- Related to Bug #5136: NS2 claims to set DSCP but actually sets TOS bits added
Updated by laforge about 3 years ago
- % Done changed from 20 to 80
https://gerrit.osmocom.org/c/osmo-mgw/+/23924 TOS bits != DSCP [NEW]
Updated by laforge about 3 years ago
- Status changed from In Progress to Resolved
- % Done changed from 80 to 100
Applied in changeset osmo-mgw|5936a9c23e3071c12de4318a436c626068b3c0cd.
Actions