netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/2] openvswitch: syzbot splat fix and introduce selftest
@ 2022-10-19 18:30 Aaron Conole
  2022-10-19 18:30 ` [PATCH net 1/2] openvswitch: switch from WARN to pr_warn Aaron Conole
  2022-10-19 18:30 ` [PATCH net 2/2] selftests: add openvswitch selftest suite Aaron Conole
  0 siblings, 2 replies; 9+ messages in thread
From: Aaron Conole @ 2022-10-19 18:30 UTC (permalink / raw)
  To: netdev
  Cc: Pravin B Shelar, Jakub Kicinski, David S. Miller, Paolo Abeni,
	Eric Dumazet, Thomas Graf, Kevin Sprague, dev, Eelco Chaudron,
	Ilya Maximets, Shuah Khan, linux-kernel, linux-kselftest

Syzbot recently caught a splat when dropping features from
openvswitch datapaths that are in-use.  The WARN() call is
definitely too large a hammer for the situation, so change
to pr_warn.

Second patch in the series introduces a new selftest suite which
can help show that an issue is fixed.  This change might be
more suited to net-next tree, so it has been separated out
as an additional patch and can be either applied to either tree
based on preference.

Aaron Conole (2):
  openvswitch: switch from WARN to pr_warn
  selftests: add openvswitch selftest suite

 MAINTAINERS                                   |   1 +
 net/openvswitch/datapath.c                    |   3 +-
 tools/testing/selftests/Makefile              |   1 +
 .../selftests/net/openvswitch/Makefile        |  13 +
 .../selftests/net/openvswitch/openvswitch.sh  | 216 +++++++++
 .../selftests/net/openvswitch/ovs-dpctl.py    | 411 ++++++++++++++++++
 6 files changed, 644 insertions(+), 1 deletion(-)
 create mode 100644 tools/testing/selftests/net/openvswitch/Makefile
 create mode 100755 tools/testing/selftests/net/openvswitch/openvswitch.sh
 create mode 100644 tools/testing/selftests/net/openvswitch/ovs-dpctl.py

-- 
2.34.3


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

end of thread, other threads:[~2022-10-25 12:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-19 18:30 [PATCH net 0/2] openvswitch: syzbot splat fix and introduce selftest Aaron Conole
2022-10-19 18:30 ` [PATCH net 1/2] openvswitch: switch from WARN to pr_warn Aaron Conole
2022-10-20 18:40   ` Ilya Maximets
2022-10-19 18:30 ` [PATCH net 2/2] selftests: add openvswitch selftest suite Aaron Conole
2022-10-20 13:21   ` Ilya Maximets
2022-10-20 15:32     ` Aaron Conole
2022-10-20 16:33       ` Ilya Maximets
2022-10-20 17:17         ` Ilya Maximets
2022-10-25 12:15           ` Aaron Conole

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