Brian Candler wrote:
So I was just wondering: - can someone explain the rationale for Linux's behaviour?
The EMSGSIZE error is not fatal -- you can ignore it and try again, and Linux will do the fragmentation for you. EMSGSIZE is generated when an ICMP Can't Fragment is received, indicating an MTU change. It's important that this event get propagated back to the application somehow, because some applications really want to do MTU discovery, and this triggers them to change their size, and possibly retransmit some older packets that are now known to have been lost.
-John - To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html