public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/4] net: sparx5: flower: validate control flags
@ 2024-04-24 12:16 Asbjørn Sloth Tønnesen
  2024-04-24 12:16 ` [PATCH net-next v2 1/4] net: sparx5: flower: only do lookup if fragment flags are set Asbjørn Sloth Tønnesen
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Asbjørn Sloth Tønnesen @ 2024-04-24 12:16 UTC (permalink / raw)
  To: netdev
  Cc: Asbjørn Sloth Tønnesen, Steen Hegelund, Lars Povlsen,
	Daniel Machon, UNGLinuxDriver, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, linux-kernel, Jiri Pirko,
	Simon Horman

This series adds flower control flags validation to the
sparx5 driver, and changes it from assuming that it handles
all control flags, to instead reject rules if they have
masked any unknown/unsupported control flags.

---

Changelog:

v2:
* Split first patch into 3 (requested by Jiri)
* Convert a missed extack usage (noticed by Daniel)
* Added cover letter (requested by Simon and Daniel)

v1: https://lore.kernel.org/netdev/20240423102728.228765-1-ast@fiberby.net/

Asbjørn Sloth Tønnesen (4):
  net: sparx5: flower: only do lookup if fragment flags are set
  net: sparx5: flower: add extack to
    sparx5_tc_flower_handler_control_usage()
  net: sparx5: flower: remove goto in
    sparx5_tc_flower_handler_control_usage()
  net: sparx5: flower: check for unsupported control flags

 .../microchip/sparx5/sparx5_tc_flower.c       | 20 +++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2024-04-26  2:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-24 12:16 [PATCH net-next v2 0/4] net: sparx5: flower: validate control flags Asbjørn Sloth Tønnesen
2024-04-24 12:16 ` [PATCH net-next v2 1/4] net: sparx5: flower: only do lookup if fragment flags are set Asbjørn Sloth Tønnesen
2024-04-24 12:16 ` [PATCH net-next v2 2/4] net: sparx5: flower: add extack to sparx5_tc_flower_handler_control_usage() Asbjørn Sloth Tønnesen
2024-04-24 12:16 ` [PATCH net-next v2 3/4] net: sparx5: flower: remove goto in sparx5_tc_flower_handler_control_usage() Asbjørn Sloth Tønnesen
2024-04-24 12:16 ` [PATCH net-next v2 4/4] net: sparx5: flower: check for unsupported control flags Asbjørn Sloth Tønnesen
2024-04-24 13:39 ` [PATCH net-next v2 0/4] net: sparx5: flower: validate " Daniel Machon
2024-04-26  2:40 ` 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