$cat /proc/sys/net/ipv4/tcp_dsack
1
$
tcp_dsack - BOOLEAN
Allows TCP to send "duplicate" SACKs.
This option is required to send duplicate SACKs which was briefly described in the tcp_sack variable explanation. This is described in detail within the RFC 2883. This RFC document explains in detail how to handle situations where a packet is received twice or out of order. D-SACK is an extension to standard SACK and is used to tell the sender when a packet was received twice (ie, it was duplicated). The D-SACK data can then be used by the transmitter to improve network settings and so on. This should be 100% backwards compatible with older implementations as long as the previous implementors have not tried to implement this into the old SACK option in their own fashion. This is extremely rare and should not be a problem for anyone.
Copyright © 2002 by Oskar Andreasson
http://www.icir.org/floyd/sacks.html
grepping through the linux kernel source 2.6.32
selected parts.
$grep -r tcp_dsack *
sysctl_net_ipv4.c: .procname = "tcp_dsack",
tcp_input.c:int sysctl_tcp_dsack __read_mostly = 1
Problem : find what is sysctl in the linux kernel code.