]> 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)
commit594636080abf989c26fd74d2b30d5f64d07d4513
treec4772ab8cc2a05d4a5d04edfae913b06a67671ff
parent084b83403511e743fc36d859fc1d3e35ee18a348
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