diff options
author | Jiri Pirko | 2019-06-17 18:02:32 +0200 |
---|---|---|
committer | David S. Miller | 2019-06-17 23:05:32 +0200 |
commit | f517f2716c34087ca15a36e9f13dbca8bd2e3ffc (patch) | |
tree | c2e5b2c354efec574b0852a692caadd6b5389f32 /drivers/net/wireless/intel/iwlegacy/4965-rs.c | |
parent | net: hns3: fix dereference of ae_dev before it is null checked (diff) | |
download | kernel-qcow2-linux-f517f2716c34087ca15a36e9f13dbca8bd2e3ffc.tar.gz kernel-qcow2-linux-f517f2716c34087ca15a36e9f13dbca8bd2e3ffc.tar.xz kernel-qcow2-linux-f517f2716c34087ca15a36e9f13dbca8bd2e3ffc.zip |
net: sched: cls_matchall: allow to delete filter
Currently user is unable to delete the filter. See following example:
$ tc filter add dev ens16np1 ingress pref 1 handle 1 matchall action drop
$ tc filter show dev ens16np1 ingress
filter protocol all pref 1 matchall chain 0
filter protocol all pref 1 matchall chain 0 handle 0x1
in_hw
action order 1: gact action drop
random type none pass val 0
index 1 ref 1 bind 1
$ tc filter del dev ens16np1 ingress pref 1 handle 1 matchall action drop
RTNETLINK answers: Operation not supported
Implement tcf_proto_ops->delete() op and allow user to delete the filter.
Reported-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/intel/iwlegacy/4965-rs.c')
0 files changed, 0 insertions, 0 deletions