Skip to content
Commit 166fa538 authored by Guillaume Nault's avatar Guillaume Nault Committed by Greg Kroah-Hartman
Browse files

cls_flower: Add extack support for src and dst port range options



[ Upstream commit bd7d4c12 ]

Pass extack down to fl_set_key_port_range() and set message on error.

Both the min and max ports would qualify as invalid attributes here.
Report the min one as invalid, as it's probably what makes the most
sense from a user point of view.

Signed-off-by: default avatarGuillaume Nault <gnault@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Stable-dep-of: d3f87278 ("net/sched: flower: Ensure both minimum and maximum ports are specified")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent aadca5f0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment