Hello!
> I am not clear on your other alternative of adding a socket flag. Could you
> please elaborate on it?
Not to add any arguments just to help a broken protocol.
Simply to behave like UDP, i.e. to fragment all the oversized frames.
Probably, even new flag is not required, just check for
sk->protocol == IPPROTO_SCTP can be enough.
It is almost equivalent, it also send fragmented crap only when
mtu decreases. But this variant is _formally_ prohibited with:
> fragmented. Transmissions of new IP datagrams MUST have DF set.
BTW this MUST is even more ridiculous, you have to change ip_queue_xmit()
to do this, we disable pmtu discovery sometimes.
> I guess SCTP desginers have thought of this and explicitly indicate that we
I am afraid SCTP designers thought with their spinal chrod. :-)
Relying on IP fragmentation promotes all the protocol to the status
of utter crap. So, long live TCP! :-)
Alexey
|