diff options
author | Vlad Buslov <vladbu@mellanox.com> | 2018-06-04 18:32:23 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-04 17:31:44 -0400 |
commit | 0e3990356d2518691e17c1ecbf7868833b6e6704 (patch) | |
tree | a67ada4b6cf1eee2b4cb494658b3a04d6c730293 /fs/hfsplus | |
parent | 25ea66544bfd1d9df1b7e1502f8717e85fa1e6e6 (diff) | |
download | linux-0e3990356d2518691e17c1ecbf7868833b6e6704.tar.bz2 |
net: sched: return error code when tcf proto is not found
If requested tcf proto is not found, get and del filter netlink protocol
handlers output error message to extack, but do not return actual error
code. Add check to return ENOENT when result of tp find function is NULL
pointer.
Fixes: c431f89b18a2 ("net: sched: split tc_ctl_tfilter into three handlers")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/hfsplus')
0 files changed, 0 insertions, 0 deletions