public inbox for linux-kernel-mentees@lists.linux-foundation.org
 help / color / mirror / Atom feed
* [PATCH 6.6.y 0/2] fix push_nsh() validation + silence selftest warnings
@ 2025-12-26  5:56 Adrian Yip
  2025-12-26  5:56 ` [PATCH 6.6.y 1/2] selftests: openvswitch: Fix escape chars in regexp Adrian Yip
  2025-12-26  5:56 ` [PATCH 6.6.y 2/2] net: openvswitch: fix middle attribute validation in push_nsh() action Adrian Yip
  0 siblings, 2 replies; 3+ messages in thread
From: Adrian Yip @ 2025-12-26  5:56 UTC (permalink / raw)
  To: stable
  Cc: Adrian Yip, Pravin B Shelar, David S . Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, linux-kernel-mentees, skhan,
	david.hunter.linux, khalid

Hi maintainers,

This is a v6.6 backport mainly for an upstream commit `5ace7ef87f05 net: 
openvswitch: fix middle attribute validation in push_nsh() action`.

I built the kernel then tested it with selftest. The selftest that ran
with a a bunch of SyntaxWarning.

Example:
  /ovs-dpctl.py:598: SyntaxWarning: invalid escape sequence '\d'
    actstr, ":", "(\d+)", int, False
  /ovs-dpctl.py:601: SyntaxWarning: invalid escape sequence '\d'
    actstr, "-", "(\d+)", int, False
  /ovs-dpctl.py:505: SyntaxWarning: invalid escape sequence '\d'
    elif parse_starts_block(actstr, "^(\d+)", False, True):

This error was then easily fixed with another minimal backport for the
file tools/testing/selftests/net/openvswitch/ovs-dpctl.py. Hence the
series.

Both patches was applied cleanly and was tested with selftest and passed
though the timeout had to be increased for drop_reason to pass.

Adrian Moreno (1):
  selftests: openvswitch: Fix escape chars in regexp.

Ilya Maximets (1):
  net: openvswitch: fix middle attribute validation in push_nsh() action

 net/openvswitch/flow_netlink.c                   | 13 ++++++++++---
 .../selftests/net/openvswitch/ovs-dpctl.py       | 16 ++++++++--------
 2 files changed, 18 insertions(+), 11 deletions(-)

-- 
2.52.0


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

end of thread, other threads:[~2025-12-26  5:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-26  5:56 [PATCH 6.6.y 0/2] fix push_nsh() validation + silence selftest warnings Adrian Yip
2025-12-26  5:56 ` [PATCH 6.6.y 1/2] selftests: openvswitch: Fix escape chars in regexp Adrian Yip
2025-12-26  5:56 ` [PATCH 6.6.y 2/2] net: openvswitch: fix middle attribute validation in push_nsh() action Adrian Yip

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox