diff options
author | Jiri Pirko | 2018-08-27 20:58:44 +0200 |
---|---|---|
committer | David S. Miller | 2018-08-27 15:16:16 -0700 |
commit | b7b4247d553939ccf02ff597ec60f41a2f93ee8e (patch) | |
tree | 7de48667acf0c9b155da55796963d92b37d0ac7a /samples | |
parent | d5ed72a55bc0a321ef33d272e2b0bf0d2b06d1fe (diff) |
net: sched: return -ENOENT when trying to remove filter from non-existent chain
When chain 0 was implicitly created, removal of non-existent filter from
chain 0 gave -ENOENT. Once chain 0 became non-implicit, the same call is
giving -EINVAL. Fix this by returning -ENOENT in that case.
Reported-by: Roman Mashak <mrv@mojatatu.com>
Fixes: f71e0ca4db18 ("net: sched: Avoid implicit chain 0 creation")
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions