From: Jakub Kicinski <kuba@kernel.org>
To: Tristan Madani <tristmd@gmail.com>
Cc: netdev@vger.kernel.org, davem@davemloft.net, edumazet@google.com,
pabeni@redhat.com, andrew+netdev@lunn.ch, horms@kernel.org,
maheshb@google.com, stable@vger.kernel.org,
linux-kernel@vger.kernel.org,
Tristan Madani <tristan@talencesecurity.com>
Subject: Re: [PATCH net v3] net: reduce XMIT_RECURSION_LIMIT under KASAN
Date: Mon, 27 Jul 2026 16:24:14 -0700 [thread overview]
Message-ID: <20260727162414.68617fe7@kernel.org> (raw)
In-Reply-To: <20260727200454.4048141-1-tristmd@gmail.com>
On Mon, 27 Jul 2026 20:04:54 +0000 Tristan Madani wrote:
> +#ifdef CONFIG_KASAN
> +#define XMIT_RECURSION_LIMIT 3
> +#else
> #define XMIT_RECURSION_LIMIT 8
> +#endif
At least these tests (maybe more) fail with a limit this low:
- selftests/net/forwarding/vxlan_symmetric.sh
- selftests/net/forwarding/vxlan_symmetric_ipv6.sh
- selftests/net/forwarding/vxlan_asymmetric.sh
- selftests/net/forwarding/vxlan_asymmetric_ipv6.sh
- selftests/net/test_bridge_backup_port.sh
- selftests/net/test_vxlan_mdb.sh
Can in investigate what limit they need and whether their max is good
enough to avoid issues with KASAN?
prev parent reply other threads:[~2026-07-27 23:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-27 20:04 [PATCH net v3] net: reduce XMIT_RECURSION_LIMIT under KASAN Tristan Madani
2026-07-27 23:24 ` Jakub Kicinski [this message]
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=20260727162414.68617fe7@kernel.org \
--to=kuba@kernel.org \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maheshb@google.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=stable@vger.kernel.org \
--cc=tristan@talencesecurity.com \
--cc=tristmd@gmail.com \
/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