Avoiding duplicate ACKs in TCP

Vijay Singh vijju.singh at gmail.com
Mon Jan 21 04:02:30 UTC 2013


All. I am working on an in-kernel application using socket upcalls. I
see a lot of TCP DUP ACKs due the call to tcp_usr_rvcd(). However if I
avoid this in the upcall using the  MSG_SOCALLBCK flag to soreceive()
the throughput of the test goes down due to missing window updates. I
am wondering if there is a way to avoid this, perhaps by sending the
window update based on data read by the application.

-vijay


More information about the freebsd-net mailing list