Problem: HWM always boosted by 1
Solution: initialise *hwmboost to -1 instead of 1, and use it only if it's >= 0. The socket option code checks anyway that the user-provided value is >= 0 so there is no risk of clashing. The documentation also specifies that it has to be >= 0.
Showing
Please
register
or
sign in
to comment