]> git.baikalelectronics.ru Git - kernel.git/commit
cls_flower: Add extack support for src and dst port range options
authorGuillaume Nault <gnault@redhat.com>
Mon, 23 Mar 2020 20:48:51 +0000 (21:48 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Mar 2020 02:52:31 +0000 (19:52 -0700)
commit76c03a76e103049882826c94ec7d4a34aac8c67e
treec4772ab8cc2a05d4a5d04edfae913b06a67671ff
parent699d0527d5995b345da6ec0498a89eb3b4b13c20
cls_flower: Add extack support for src and dst port range options

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: Guillaume Nault <gnault@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_flower.c