Re: [PATCH net v5 0/8] psp, tls: don't send offloaded contents in cleartext
From: Todd Bert Freed
Date: Mon Nov 16 2026 - 17:44:37 EST
> > v5:
> > - ipv6 extension headers: drop them in psp_dev_encapsulate() again,
> > instead of in mlx5e. it's the helper which can't encapsulate them,
> > for every driver (netdevsim sent them malformed). unlike the routing
> > header rejection in v2, this isn't a device limitation
>
> Can you elaborate on this? You're saying encapsulating with the
> extension headers present was working for mlx5, but not netdevsim?
With ipv6 extension headers, both netdevsim and mlx5 send a
malformed packet. mlx5 also sends that packet unencrypted.
In v4, I had moved the drop from the helper into mlx5, because
"sends the packet unencrypted" pertains to that driver specifically.
Sashiko pointed out (High finding) that the "crafts a malformed packet"
behavior is in the shared helper. So I moved the fix back into the
helper for v5.
The routing header limitation I mentioned there (which was limited to the
mlx5 driver) is fixed by patch 8 in v5 ("net/mlx5e: psp: tso: replace only
the length in checksum seed")
-Todd