]> git.proxmox.com Git - mirror_iproute2.git/commit
tc: Fix block-handle support for filter operations
authorIdo Schimmel <idosch@mellanox.com>
Mon, 12 Aug 2019 10:17:06 +0000 (13:17 +0300)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 12 Aug 2019 17:31:24 +0000 (10:31 -0700)
commit395370035e109c3ff4fa6b673a80ecb8af8da65b
treed8641340036c314329922cdd2e22314ecef84cdd
parent2d7cb22240b5b52294fc04ee3545694e5fe35605
tc: Fix block-handle support for filter operations

The revert of batchsize accidently reverted more than it should
and broke shared block functionality.  Fix this by restoring the
original functionality.

To reproduce:

dst_ip 192.0.2.0/24 action drop
Unknown filter "block", hence option "10" is unparsable

Fixes: e991c04d64c0 ("Revert "tc: Add batchsize feature for filter and actions"")
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
tc/tc_filter.c