Yang Yingliang 995c3fc302 net: sched: fix error return code in tcf_del_walker()
[ Upstream commit 55d96f72e8ddc0a294e0b9c94016edbb699537e1 ]

When nla_put_u32() fails, 'ret' could be 0, it should
return error code in tcf_del_walker().

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-19 08:53:11 +02:00
..
2020-02-11 04:35:03 -08:00
2019-07-09 12:11:59 -07:00
2021-03-30 14:35:25 +02:00
2021-03-30 14:35:25 +02:00
2021-03-30 14:35:25 +02:00
2021-03-30 14:35:25 +02:00