]> git.baikalelectronics.ru Git - kernel.git/commit
net: sched: don't set extack message in case the qdisc will be created
authorJiri Pirko <jiri@mellanox.com>
Thu, 28 Dec 2017 15:52:10 +0000 (16:52 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Dec 2017 17:18:31 +0000 (12:18 -0500)
commit0934c1b01e9a04c084302de341f79d5bbf152fe6
treecbd5e0fed8edceadb604e3caf29f0be5ab58d08b
parent703db6d18d46fbd42206a1b789a3decfb8aab50a
net: sched: don't set extack message in case the qdisc will be created

If the qdisc is not found here, it is going to be created. Therefore,
this is not an error path. Remove the extack message set and don't
confuse user with error message in case the qdisc was created
successfully.

Fixes: 8ed2b028049b ("net: sched: sch_api: handle generic qdisc errors")
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_api.c