All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel.org>
To: "Toke Høiland-Jørgensen" <toke@redhat.com>
Cc: Jamal Hadi Salim <jhs@mojatatu.com>,
	Cong Wang <xiyou.wangcong@gmail.com>,
	Jiri Pirko <jiri@resnulli.us>,
	Ilya Maximets <i.maximets@redhat.com>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Paolo Abeni <pabeni@redhat.com>, Simon Horman <horms@kernel.org>,
	netdev@vger.kernel.org
Subject: Re: [RFC PATCH net] tc: Return an error if filters try to attach too many actions
Date: Tue, 8 Apr 2025 12:20:06 -0700	[thread overview]
Message-ID: <20250408122006.049cecd9@kernel.org> (raw)
In-Reply-To: <20250407112923.20029-1-toke@redhat.com>

On Mon,  7 Apr 2025 13:29:23 +0200 Toke Høiland-Jørgensen wrote:
> While developing the fix for the buffer sizing issue in [0], I noticed
> that the kernel will happily accept a long list of actions for a filter,
> and then just silently truncate that list down to a maximum of 32
> actions.

FWIW I also vote "yes" for hard error, rather than warning.
But net-next, not net.

      parent reply	other threads:[~2025-04-08 19:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-07 11:29 [RFC PATCH net] tc: Return an error if filters try to attach too many actions Toke Høiland-Jørgensen
2025-04-07 12:05 ` Jiri Pirko
2025-04-07 19:56 ` Jamal Hadi Salim
2025-04-07 20:08   ` Jamal Hadi Salim
2025-04-07 20:10     ` Jamal Hadi Salim
2025-04-07 21:40       ` Jamal Hadi Salim
2025-04-08 12:14   ` Ilya Maximets
2025-04-08 13:42     ` Jamal Hadi Salim
2025-04-08 19:20 ` Jakub Kicinski [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250408122006.049cecd9@kernel.org \
    --to=kuba@kernel.org \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=i.maximets@redhat.com \
    --cc=jhs@mojatatu.com \
    --cc=jiri@resnulli.us \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=toke@redhat.com \
    --cc=xiyou.wangcong@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.