Eric Dumazet 54acac57fe net: sched: move rtm_tca_policy declaration to include file
[ Upstream commit 886bc7d6ed3357975c5f1d3c784da96000d4bbb4 ]

rtm_tca_policy is used from net/sched/sch_api.c and net/sched/cls_api.c,
thus should be declared in an include file.

This fixes the following sparse warning:
net/sched/sch_api.c:1434:25: warning: symbol 'rtm_tca_policy' was not declared. Should it be static?

Fixes: e331473fee3d ("net/sched: cls_api: add missing validation of netlink attributes")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-06-14 11:09:43 +02:00
..
2021-06-10 13:39:24 +02:00
2020-05-05 13:23:29 -07:00
2019-12-09 10:36:44 -08:00
2020-06-22 21:12:44 -07:00
2021-08-04 12:46:43 +02:00
2020-03-04 13:25:55 -08:00
2023-06-14 11:09:42 +02:00
2019-04-22 21:47:25 -07:00
2019-10-05 16:29:00 -07:00
2023-05-30 12:57:46 +01:00
2020-06-18 20:46:23 -07:00
2019-12-09 10:28:43 -08:00