net: sched: fix extack error message when chain is failed to be created
Instead "Cannot find" say "Cannot create".
Fixes: c35a4acc29
("net: sched: cls_api: handle generic cls errors")
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Родитель
84581bdae9
Коммит
d5ed72a55b
|
@ -1252,7 +1252,7 @@ replay:
|
|||
}
|
||||
chain = tcf_chain_get(block, chain_index, true);
|
||||
if (!chain) {
|
||||
NL_SET_ERR_MSG(extack, "Cannot find specified filter chain");
|
||||
NL_SET_ERR_MSG(extack, "Cannot create specified filter chain");
|
||||
err = -ENOMEM;
|
||||
goto errout;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче