From: "Toke Høiland-Jørgensen" <toke@kernel.org>
To: djduanjiong@gmail.com
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH v3] veth: Drop MTU check when forwarding packets
Date: Thu, 08 Aug 2024 14:24:33 +0200 [thread overview]
Message-ID: <87h6bvp5ha.fsf@toke.dk> (raw)
In-Reply-To: <00f872ac-4f59-4857-9c50-2d87ed860d4f@Spark>
djduanjiong@gmail.com writes:
> This is similar to a virtual machine that receives packets larger than
> its own mtu, regardless of the mtu configured in the guest. Or, to
> put it another way, what are the negative effects of this change?
Well, it's changing long-standing behaviour (the MTU check has been
there throughout the history of veth). Changing it will mean that
applications that set the MTU and rely on the fact that they will never
receive packets higher than the MTU, will potentially break in
interesting ways.
You still haven't answered what's keeping you from setting the MTU
correctly on the veth devices you're using?
-Toke
next prev parent reply other threads:[~2024-08-08 12:24 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-08 7:04 [PATCH v3] veth: Drop MTU check when forwarding packets Duan Jiong
2024-08-08 9:23 ` Toke Høiland-Jørgensen
2024-08-08 9:55 ` Duan Jiong
2024-08-08 10:21 ` Toke Høiland-Jørgensen
[not found] ` <00f872ac-4f59-4857-9c50-2d87ed860d4f@Spark>
2024-08-08 12:24 ` Toke Høiland-Jørgensen [this message]
2024-08-08 19:38 ` Willem de Bruijn
2024-08-09 9:47 ` Toke Høiland-Jørgensen
2024-08-12 9:11 ` Duan Jiong
2024-08-13 11:40 ` Toke Høiland-Jørgensen
2024-08-14 6:42 ` Duan Jiong
2024-08-16 21:09 ` Toke Høiland-Jørgensen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h6bvp5ha.fsf@toke.dk \
--to=toke@kernel.org \
--cc=djduanjiong@gmail.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).