Perform TOS reflection only if the TOS value in SYN is non-zero
Summary: TOS reflected is implemented in the AsyncServerSocket layer. The way it works is by extracting the TOS value from cached SYN packet and applying a setsockopt() on the accepted socket. But if the TOS value in the cached SYN packet is ZERO, this results in TOS=0 for the accepted socket, resulting in problems. Made changes to limit TOS reflection only if SYN carries non-zero TOS. Reviewed By: yfeldblum Differential Revision: D15633518 fbshipit-source-id: 856ba2059145e37fdab580b094349632677a40ba
Showing
Please register or sign in to comment