netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net v2 0/2] net: dst_metadata: fix DF flag extraction on tunnel rx
@ 2025-09-09 16:54 Ilya Maximets
  2025-09-09 16:54 ` [PATCH net v2 1/2] net: dst_metadata: fix IP_DF bit not extracted from tunnel headers Ilya Maximets
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Ilya Maximets @ 2025-09-09 16:54 UTC (permalink / raw)
  To: netdev
  Cc: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Simon Horman, linux-kernel, linux-kselftest, dev, Eelco Chaudron,
	Aaron Conole, Shuah Khan, Jamal Hadi Salim, Davide Caratti,
	Ido Schimmel, Ilya Maximets

Two patches here, first fixes the issue where tunnel core doesn't
actually extract DF bit from the outer IP header, even though both
OVS and TC flower allow matching on it.  More details in the commit
message.

The second is a selftest for openvswitch that reproduces the issue,
but also just adds some basic coverage for the tunnel metadata
extraction and related openvswitch uAPI.


Version 2:
  * Added missing tun_dst NULL check.
  * Added Reviewed-by from Aaron for the selftest.

Version 1:
  https://lore.kernel.org/netdev/20250905133105.3940420-1-i.maximets@ovn.org/


Ilya Maximets (2):
  net: dst_metadata: fix IP_DF bit not extracted from tunnel headers
  selftests: openvswitch: add a simple test for tunnel metadata

 include/net/dst_metadata.h                    | 11 ++-
 .../selftests/net/openvswitch/openvswitch.sh  | 88 +++++++++++++++++--
 2 files changed, 90 insertions(+), 9 deletions(-)

-- 
2.50.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-09-14 21:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-09 16:54 [PATCH net v2 0/2] net: dst_metadata: fix DF flag extraction on tunnel rx Ilya Maximets
2025-09-09 16:54 ` [PATCH net v2 1/2] net: dst_metadata: fix IP_DF bit not extracted from tunnel headers Ilya Maximets
2025-09-10  6:19   ` Ido Schimmel
2025-09-09 16:54 ` [PATCH net v2 2/2] selftests: openvswitch: add a simple test for tunnel metadata Ilya Maximets
2025-09-14 21:40 ` [PATCH net v2 0/2] net: dst_metadata: fix DF flag extraction on tunnel rx patchwork-bot+netdevbpf

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).