[Bug 258732] [tcp] TCP_MAXSEG does not work

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 07 Oct 2021 17:43:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258732

--- Comment #7 from Michael Tuexen <tuexen@freebsd.org> ---
(In reply to zhh0000zhh from comment #6)

But why do you need to synchronise two TCP sockets. TCP provides a byte stream
service. So why do you bother what the MSS is?

It is clear that the MSS option is only present in SYN and SYN ACK segments.
But this has no relation to the question whether an application should have an
way to impact the announcement of the MSS to the peer.

The argument that this is no a bug is that the code behaves as documented in
the man page. After connection setup, you can query what the MSS used by the
local endpoint is in send direction. You can even reduce them.

Linux also allows you set limit the MSS used by the peer. FreeBSD doesn't allow
this right now. So you are asking for this feature to be added.

However, I don't understand why you need this feature. TCP is a byte stream
protocol. So why do you want to limit the MSS used by your peer?

-- 
You are receiving this mail because:
You are the assignee for the bug.