• Ondřej Zajíček's avatar
    IO: Fix socket priority · d6cf9961
    Ondřej Zajíček authored
    On Linux, setting the ToS will also set the priority and the range of
    accepted values is quite limited (masked by 0x1e). Therefore, 0xc0 is
    translated to a priority of 0, not something we want, overriding the
    "7" priority which was set previously explicitely. To avoid that, just
    move setting priority later in the code.
    
    Thanks to Vincent Bernat for the patch.
    d6cf9961